Git Product home page Git Product logo

colorpick.js's People

Contributors

aromalanil avatar mashedkeyboard avatar nicxlau avatar philptr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

colorpick.js's Issues

How do you get the value?

Since it is in div class name, i cant get the value

Tried to use it on input types, but doesnt work

Using the plugin twice

I am trying to use this plugin twice, each time for different event binding.
<div class="colorPickSelector" id="color1"></div><h6>Error Bars</h6>
<div class="colorPickSelector" id="color2"></div><h6>Data Point</h6><br>

How to modify the script, by applying the changes for 2 different events??

Multiple color pickers on the same page act weird

  • Create 2 or more pickers
  • Open 1st, change color - success
  • Open 2nd, change color - success
  • Open 1st & 2nd at the same time – the first popup is populated with colors from the second popup (second doesn't show up at all)
  • What's more picking a color form this list changes both pickers at the same time

Color change event fires on its own on windows load

Hello,
I'm using the custom event function from the docs and when I refresh the page the event fires on its own and I got in the console this: "The user has selected the color: #3498DB"
Any ideas?
Best Regards!

IE 11 - syntax error at colorPick.js (132,51)

I found a problem in IE11 with JQuery.each code block. IE write "syntax error"
jQuery.each(this.palette, (index, item) => { $("#colorPick").append('<div class="colorPickButton" hexValue="' + item + '" style="background:' + item + '"></div>'); });

solved the problem:
jQuery.each(this.palette, function (index, item) { $("#colorPick").append('<div class="colorPickButton" hexValue="' + item + '" style="background:' + item + '"></div>'); });

the issue occurs on line 143

Duplicated colors

I can duplicate colors and ColorPick.js will display three #EEE blocks.

$(".picker").colorPick({ 'palette': ["#eee", "#eee", "#eee"] });

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.