rippleCancelShow
Commons
stable
Cancel a pending ripple show on a touch/mouse move event. Clears the show-timer commit and the pending timeout so a ripple that has not yet appeared is silently discarded.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- erequisMouseEvent | TouchEvent
- The pointer move event whose currentTarget holds the ripple state object. If the element has no _ripple state or no pending show, the call is a no-op.
API
Valeur de retour
La valeur retournée par cet util.
- No return value. Side-effects: clears showTimerCommit and showTimer on the element ripple state.
Usage
Exemples
Extraits de code prêts à coller.
Wire cancel-show to touchmove