I have a type plugin
$.fn.mycoolplugin
which links mousemoveto a document of type
$(document).("mousemove", function() {
});
after calling the function on the selector
$('.myclass').mycoolplugin();
How would I untie this because it is mousemoveattached to a document, and other elements in my code use mouseenterand mouseleave?
source
share