IClickOutsideDirectiveBinding

interface
Directives

Typed DirectiveBinding for v-click-outside. The value accepts either a bare handler function or the full IClickOutsideBindingArgs object.

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.

value
required
((e: MouseEvent) => void) | IClickOutsideBindingArgs
Handler shorthand or a full IClickOutsideBindingArgs object providing handler, closeConditional and include.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Typing the binding in a custom directive hook

typescript