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

button.js #3758

Closed
svnlto opened this issue Jun 7, 2012 · 3 comments
Closed

button.js #3758

svnlto opened this issue Jun 7, 2012 · 3 comments
Labels

Comments

@svnlto
Copy link

svnlto commented Jun 7, 2012

when toggling a button, the innerhtml of the button gets replaced with whatever data-loading-text is.
this makes it rather difficult to change the icon when the button is 'loading'. would it be possible to add an option that specifies the icon to use when the button is toggled?

@fat
Copy link
Member

fat commented Jun 20, 2012

Just include the icon in the html?

@fat fat closed this as completed Jun 20, 2012
@svnlto
Copy link
Author

svnlto commented Jun 21, 2012

the icon 'is' in the html.
it get's removed, that's what I said.

@richardp-au
Copy link

I think @fat means to put the icon HTML in the data-loading-text attribute. Obviously you'll need to use <, ", etc. inside the attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants