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

Signature TypeScript complète, extraite du fichier util.

typescript

API

Paramètres

Paramètres d'entrée acceptés par cet util.

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

API

Valeur de retour

La valeur retournée par cet util.

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

Usage

Exemples

Extraits de code prêts à coller.

Manually attach hover listeners

typescript