hoverHide

Commons
stable

Event handler that hides the hover visual effect on the current target element. Delegates to the internal HOVER.hide() strategy and fires the optional mouseleave callback registered on the element's _hover descriptor.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

e
required
Event
A mouseleave, touchend, or touchcancel DOM event. e.currentTarget must be an IHoverHtmlElement with a _hover descriptor.

API

Return value

The value returned by this util.

Nothing. Hides the hover overlay and fires the optional mouseleave callback.

Usage

Examples

Ready-to-paste usage snippets.

Manually attach hover listeners

typescript