Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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