pickr icon indicating copy to clipboard operation
pickr copied to clipboard

change event fired on UI only

Open hssngl opened this issue 4 years ago • 3 comments

whenever I do setColor on the Pickr instance it gets fired. I wonder If I can only listen to the change event when the user manually changes the color on the UI?

hssngl avatar Jan 06 '21 23:01 hssngl

See Readme#methods, setColor has a silent argument.

simonwep avatar Jan 07 '21 17:01 simonwep

setColor method denotes to changing the color of the instance, setColor still trigger the 'change' event. version: 1.8.0

hssngl avatar Jan 10 '21 21:01 hssngl

Oh that seems to be true, only the save event is supressed... I'll mark this as a feature request.

simonwep avatar Mar 13 '21 10:03 simonwep