IHoverOptions

interface
Directives & Utilities

Runtime options resolved by the v-hover directive after merging the binding value — holds the final CSS class to toggle on the element.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

class
requis
string
The CSS class that will be added to the element while it is hovered. Derived from the directive binding or defaulting to a component-specific hover class.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Reading the resolved hover options inside a directive

typescript