Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading-bar on single DOM element #251

Closed
satyasutar opened this issue Nov 6, 2015 · 9 comments
Closed

loading-bar on single DOM element #251

satyasutar opened this issue Nov 6, 2015 · 9 comments
Milestone

Comments

@satyasutar
Copy link

Is it possible to have loading bar on individual dom element. My view contains different sections which are fetched from http requests. I dont want to show the bar on entire page, rather show it on the div or span thats being fetched. Any suggestions?

@celsomtrindade
Copy link

+1

6 similar comments
@mattchue
Copy link

+1

@megarocks
Copy link

+1

@kuzman
Copy link

kuzman commented Dec 1, 2015

+1

@shealan
Copy link

shealan commented Dec 4, 2015

+1

@philippwaller
Copy link

+1

@athanph
Copy link

athanph commented Jan 13, 2016

+1

@mattchue
Copy link

I've found that you can pass an (undocumented) parentSelector via the cfpLoadingBarProvider.parentSelector attribute.

I also had to change lastChild to firstChild on both line 209 and line 213 to get it to work correctly without overlaying content in my app. That's probably an implementation-specific issue though.

@jklaus
Copy link
Contributor

jklaus commented Feb 8, 2016

I have resolved the issue caused by the parentSelector implementation in pull 272.
Feel free to pull from me.

@chieffancypants chieffancypants added this to the next version milestone Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants