fires on clicking the "Cancel" button
node | HTMLElement | DOM object of the active input, in case of the input-based initialization, otherwise null |
myColorPicker.attachEvent("onCancel", function(node){});
The event is blockable.Return true to close dhtmlXColorPicker on clicking the "Cancel" button, otherwise dhtmlXColorPicker remains open.
Back to top