hoverStop
Commons
stable
Marks a hover event with the internal stop token so that ancestor hover handlers skip processing — the equivalent of stopPropagation for the Origam hover system.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- erequisTHoverEvent
- The hover event object (a MouseEvent extended with the Origam internal stop key). Mutated in place by setting the stop flag.
API
Valeur de retour
La valeur retournée par cet util.
- Nothing. The event object is mutated in place.
Usage
Exemples
Extraits de code prêts à coller.
Stop hover propagation on a nested element