Skip to content

I don't see the thumbnail #154

Closed Answered by mdbassit
irsat000 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

Coloris.ready(() => {
  Coloris({
    el: '.coloris',
  });
});

By the way, this is no input option.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by irsat000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants