You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
Because of tools like poly-icon.appspot.com, an iron-icon's icon name may change when an app creates its own iconsets. A test that checks icon.name == 'icons:clear' would fail if icon.name becomes 'my-app:clear'.
It would be cool if the icon name (the part after the :) were a gettable property, so tests could verify the icon name without being dependent on whatever the iconset name is.
The text was updated successfully, but these errors were encountered:
mgiuffrida
changed the title
expose iconName and iconssetName as read-only properties (for testing)
expose iconName and iconsetName as read-only properties (for testing)
May 16, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Because of tools like poly-icon.appspot.com, an
iron-icon
's icon name may change when an app creates its own iconsets. A test that checksicon.name == 'icons:clear'
would fail ificon.name
becomes'my-app:clear'
.It would be cool if the icon name (the part after the
:
) were a gettable property, so tests could verify the icon name without being dependent on whatever the iconset name is.The text was updated successfully, but these errors were encountered: