Skip to content

How is dw-loading key scope? #26

Description

@garretwilson

I understand that I need to indicate a "key" in the dw-loading attribute (e.g. dw-loading="foo", so that later I can turn on the loading indicator by calling $loading.start("foo").

But I'm using component-organized Angular (as is now recommended), and I have a Bar component, perhaps I will place two or three Bar components on the page at the same time, if they all use dw-loading="foo" will this confuse the angular-loading library? If I call $loading.start("foo") will it turn on the loading indicator just for that instance of the component, for that scope, or will it turn on the loading indicator for all the components (because they all use the same dw-loading key)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions