amitmahida92 / ng4-loading-spinner

Angular 4 custom async loading spinner.
MIT License
69 stars 31 forks source link

multi spinner in one page #48

Open Muhanady opened 6 years ago

Muhanady commented 6 years ago

it would be nice to have more the one spinner in one page and load them on demand. think of this scenario, you have a page with 2 async request, the second request starts after the first one depending on data provided from the first one. the first request fills the first table and the second one fills the second table. you do not want the page to wait until both requests finish to start using page. after the first request finish the loader must hide but the second loader must start within the second table container to show that the table is loading. I don't know if this request or idea is achievable or not. but thank you for the nice work.

amitmahida92 commented 6 years ago

Hello @Muhanady , Thank you so much for your appreciation. :+1: This is absolutely achievable. I'll think on it to provide a dynamic feature like you can have multiple instances of the spinner in the same page around a specific container component.

Muhanady commented 6 years ago

Hi, @amitmahida92 I wonder if I did understand your post wrong. "This is absolutely achievable" does that mean that is achievable at the main time or you need to develop it?

Muhanady commented 5 years ago

any news from this issue? or could i pull and try to build it my self after that we can review it together