You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I miss an option that is triggered when the palette is opened. I want that because I have lot of elements that can change color any when an element is selected and this plugins button is clicked I want the $('.simple_color').setColor() to be triggered with the selected elements current color.
As of now, I added an onOpen option and added the call here:
var selectCallback = function (event) {
if (options.onOpen && (!event.data.container.chooser || !event.data.container.chooser.is(':visible'))) {
options.onOpen(element);
}
...
}
I can make a pull request with this change if you'd like.
The text was updated successfully, but these errors were encountered:
I miss an option that is triggered when the palette is opened. I want that because I have lot of elements that can change color any when an element is selected and this plugins button is clicked I want the
$('.simple_color').setColor()
to be triggered with the selected elements current color.As of now, I added an
onOpen
option and added the call here:I can make a pull request with this change if you'd like.
The text was updated successfully, but these errors were encountered: