rippleHide

Commons
stable

Trigger the hide animation for an active ripple on a mouse/touch end or leave event. Handles the special case where a touchend arrives before the show-timer fires, committing and then queuing the hide.

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
The DOM event whose currentTarget holds the element with ripple state (_ripple). Supported types: mouseup, mouseleave, touchend, touchcancel, keyup, blur, dragstart.

API

Valeur de retour

La valeur retournée par cet util.

No return value. Triggers the RIPPLES.hide() animation on the element and clears the show timer.

Usage

Exemples

Extraits de code prêts à coller.

Wire hide to pointer release events

typescript