You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on a project where because of an animated event the onOut callback doesn't get called. This is problematic because the following onOver event never registers. It would be nice to be able to reset the state to the "out" state.
Not sure how this would best be implemented, maybe something like
Realize I'm realllllllly late to the party, but I came across the need for this exact functionality, so I made something that does it. You can add this anywhere within the script, and then just call it via hoverintent.manualReset();
h.manualReset= function(){
state = 1;
dispatchOut();
}
I'm currently working on a project where because of an animated event the
onOut
callback doesn't get called. This is problematic because the followingonOver
event never registers. It would be nice to be able to reset the state to the "out" state.Not sure how this would best be implemented, maybe something like
The text was updated successfully, but these errors were encountered: