angularjs-spinner icon indicating copy to clipboard operation
angularjs-spinner copied to clipboard

Multiple instances of loading spinner possible?

Open bcamp1973 opened this issue 12 years ago • 3 comments

I have some complex pages where I'm looking to apply spinners to multiple nested views. Is there a way to accomplish this with the angularjs-spinner? So far, what I'm seeing is each spinner instance fires on every request. I was hoping to tie it to individual scopes, but not sure how :P

bcamp1973 avatar Jul 25 '13 16:07 bcamp1973

bump

okigan avatar May 08 '14 21:05 okigan

need same , unique instance for each request.

mabidshafiq avatar Aug 18 '14 01:08 mabidshafiq

The easiest way to accomplish this is to add additional messages one for each instance and have separate spinners for each message. You would need to add a new parameter to the directive that would take the message to watch for and then have the directive perform a watch on it instead of the hard coded value.

lavinjj avatar Aug 20 '14 14:08 lavinjj