-
Coloris seem to remember the last color selected by the user on load, but how can you retrieve the data on load? There is no event for "onLoad" as far as I know, I'd appreciate your help on this, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Coloris doesn't have a state at all so it can't remember anything. All it does is render the color value that was already set in the input field it's attached to. |
Beta Was this translation helpful? Give feedback.
-
I see, I may have realized that I'm using a dev server that hotswaps the DOM instead of refreshing entirely which made it look like it remembers the last state. Apologies. |
Beta Was this translation helpful? Give feedback.
Coloris doesn't have a state at all so it can't remember anything. All it does is render the color value that was already set in the input field it's attached to.