Open SanchitSahu opened 7 years ago
I don't know if this is the right place to report this or where from to make a request to update the documentation.
The issues are the examples given for the dragstart and dragstop events. Given is
dragstart
dragstop
$(element).on("dragstart.spectrum"): function(e, color) { color.toHexString(); // #ff0000 }
whereas it should be
$(element).on("dragstart.spectrum", function(e, color) { color.toHexString(); // #ff0000 });
Same way for the dragstop event example.
I understand that this is minor for a developer who knows jquery. But for beginners, copying and pasting the example code is an easy job.
I don't know if this is the right place to report this or where from to make a request to update the documentation.
The issues are the examples given for the
dragstart
anddragstop
events. Given iswhereas it should be
Same way for the
dragstop
event example.I understand that this is minor for a developer who knows jquery. But for beginners, copying and pasting the example code is an easy job.