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

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

class
required
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

Examples

Ready-to-paste code snippets using this interface.

Reading the resolved hover options inside a directive

typescript