Skip to content

Ability to reset state #21

@andyinabox

Description

@andyinabox

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

var hover = hoverintent(/* etc... */);
// ...
hover.resetState();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions