IHoverHtmlElement

interface
Directives & Utilities

HTMLElement augmented with a private _hover property that stores the v-hover directive's runtime state on the DOM node.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

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

_hover
IHoverHtmlElementHover
Internal runtime state attached by the v-hover directive on the DOM element — holds handlers, class and touch flags.

Usage

Examples

Ready-to-paste code snippets using this interface.

Casting an element to IHoverHtmlElement in a directive hook

typescript