JSFiddle - React, Tailwind, and code Playground
HTML
<div>click and mosue off</div>
CSS
div{
cursor: pointer;
}
JavaScript
$('div').on('click',function(){
$(this).off('mouseenter');
});
<div>click and mosue off</div>
div{
cursor: pointer;
}
$('div').on('click',function(){
$(this).off('mouseenter');
});