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

Change the icon when iron-icon already exists in DOM #88

Closed
Mika83AC opened this issue Dec 8, 2016 · 1 comment
Closed

Change the icon when iron-icon already exists in DOM #88

Mika83AC opened this issue Dec 8, 2016 · 1 comment

Comments

@Mika83AC
Copy link

Mika83AC commented Dec 8, 2016

Hello everyone,

is it possible to change the currently used and displayed icon of a iron-icon, which is already existing in the DOM?

I tried "icon.setAttribute('icon', "hardware:keyboard-arrow-right");", but i guess that can't work without a "reevaluate" of the iron-icon itself.

Is there a way to accomplish this "on the fly" icon change?

Regards,
Michael

@Mika83AC Mika83AC closed this as completed Dec 8, 2016
@Mika83AC
Copy link
Author

Mika83AC commented Dec 8, 2016

Sorry, was my fault, everything is working fine!

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

1 participant