Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Small Angular Request #25

Closed
caycefischer opened this issue Jun 27, 2013 · 3 comments
Closed

Small Angular Request #25

caycefischer opened this issue Jun 27, 2013 · 3 comments

Comments

@caycefischer
Copy link

Hi guys! I'm working on making the "refresh" button on the app really nice. I can't figure out how to add a class to the element when it's syncing (currently when it shows "refreshing..."). Can someone tell me how to do that? I tried some stuff but I don't know how it really works, so I'm coming up blank.

Thanks y'all!

@litenull
Copy link
Contributor

Hold on, lemme see.

On Thu, Jun 27, 2013 at 10:06 PM, Zachary Kain notifications@github.comwrote:

Hi guys! I'm working on making the "refresh" button on the app really
nice. I can't figure out how to add a class to the element when it's
syncing (currently when it shows "refreshing..."). Can someone tell me how
to do that? I tried some stuff but I don't know how it really works, so I'm
coming up blank.

Thanks y'all!


Reply to this email directly or view it on GitHubhttps://github.com//issues/25
.

LP, Tomaž :)

@litenull
Copy link
Contributor

Its a function in statsCtrl.js.

$scope.refreshing

Go to index.html, find statsCtrl, and change the button to a div with a class="{{refreshing}}". Change the refreshing function to return refreshed or refreshing.

@caycefischer
Copy link
Author

​that's brilliant, I can't believe I didn't think of just using that
variable. Thank you!

@litenull litenull reopened this Jul 26, 2013
@litenull litenull reopened this Jul 26, 2013
@lefnire lefnire closed this as completed Aug 15, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants