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
I can't find a reliable way to get the computed hex value from the MaterialComponent.
In my use case I set the color programmatically by getting the background of a dom element.
Usually that element has a background in the format rgb(250, 250, 250).
What I need is get the hex value.
But the onChange and onChangeComplete events never fire when I change programmatically.
Am I doing something wrong?
I could read the hex property from the component instance, but as I said it's not reliable because I don't know when the value is ready. And frankly it's a bit awful.
The text was updated successfully, but these errors were encountered:
I can't find a reliable way to get the computed hex value from the
MaterialComponent
.In my use case I set the color programmatically by getting the background of a dom element.
Usually that element has a background in the format
rgb(250, 250, 250)
.What I need is get the hex value.
But the
onChange
andonChangeComplete
events never fire when I change programmatically.Am I doing something wrong?
I could read the
hex
property from the component instance, but as I said it's not reliable because I don't know when the value is ready. And frankly it's a bit awful.The text was updated successfully, but these errors were encountered: