|
neither can I find parameters related to it. |
Answered by
mdbassit
Jul 21, 2024
Replies: 2 comments
|
That's because your input field is defined after the call to Coloris.ready(() => {
Coloris({
el: '.coloris',
});
});By the way, this is no |
0 replies
Answer selected by
irsat000
|
Coloris.ready() didn't work because my case was different. It's a content script and I have already set it as run at document end. I was defining it before Coloris DOM code was imported into the page by my extension. In other words, I had to run it after like you said, just slightly differently. Thank you. I really liked this color picker, for the the design and tranparency setting. Native input color doesn't have that transparency. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

That's because your input field is defined after the call to
Coloris(). You should change your code so Coloris is called after all the DOM is ready. Alternatively, you could initialize the color picker this way:By the way, this is no
inputoption.