hoverShow
Commons
stable
Event handler that activates the hover visual effect on the current target element. Guards against duplicate touch/mouse events on Android/iOS. Uses the ORIGAM_HOVER_STOP_KEY sentinel to prevent bubble propagation to parent hover elements.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- erequisTHoverEvent
- A mouseenter or touchstart event. e.currentTarget must be an IHoverHtmlElement with a _hover descriptor.
API
Valeur de retour
La valeur retournée par cet util.
- Nothing. Displays the hover overlay and fires the optional mouseenter callback.
Usage
Exemples
Extraits de code prêts à coller.
Manually bind hover effect