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

set color property programmatically #29

Closed
wants to merge 5 commits into from
Closed

set color property programmatically #29

wants to merge 5 commits into from

Conversation

eskan
Copy link

@eskan eskan commented Oct 20, 2017

Hello PolymerElements Team,
this is a proposal to resolve the fact that we can't set color property programmatically and get the color container selected-item updated. Changes are :

  • use a dataset : data-color attached to the item color, so _rgbToHex is not need anymore and is move in test.
  • set the container selected/index to the color index.
  • default to black if no color
  • add related tests

this should close #10
Regards,
Cyrille.

@eskan eskan closed this by deleting the head repository Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:focus style not removed from selected (enlarged) chip after user interaction
2 participants