Created
March 11, 2013 21:10
-
-
Save thisboyiscrazy/5137781 to your computer and use it in GitHub Desktop.
Angularjs button loading like twitter bootstraps e.g.
<button btn-loading="something.busy" data-loading="I'm working on it...">Do It</button>
If you are already referencing the bootstrap library you can just simply call:
element.button('loading');
and
element.button('reset');
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good job, @marcalj. Works perfect.