bgrins / spectrum

The No Hassle JavaScript Colorpicker

Home Page:https://bgrins.github.io/spectrum/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiggering change event after manually setting color is returning null for color param

Kenshinofkin opened this issue · comments

I have a few spectrum color pickers with change events to update elements on a page. This works fine but if I manually set the color picker and try to call trigger('change') the event fires but the color parameter is null. Is there no way to trigger the change event manually? You can see the issue here: https://jsfiddle.net/rb7hm4Le/1/