Replies: 1 comment 2 replies
-
|
Thank you for your kind words! You don't need to modify the code to retrieve the color value from the input field, all you need to do is read its let clientColor = document.querySelector('#client_color').value; |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Thank you for this color picker,
When I added this line into my project:
<input type='text' data-coloris= />I needed the value when client chooses a color, so I added this line to update input value,
now you can get the value from input:
<input type='text' id='client_color' value='#00ff00' data-coloris= />this value will update whenever client change the color.
src/coloris.js [line 493]
Thanks again.
Beta Was this translation helpful? Give feedback.
All reactions