v-click-outside

Import

import { vClickOutside } from '@feugene/granularity/directives/clickOutside'

Exports

ClickOutsideHandlertype
type ClickOutsideHandler = (event: MouseEvent | TouchEvent | PointerEvent) => void
ClickOutsideExcludetype
type ClickOutsideExclude = HTMLElement | string | (() => HTMLElement | null | undefined)
ClickOutsideBindingValuetype
type ClickOutsideBindingValue
vClickOutsideconst
const vClickOutside: Directive<HTMLElement, ClickOutsideBindingValue>

Descriptions come from the library in Russian and are not shown here — translating them is a decision of its own, see ADR-0003.

Library prose

Read it in the repository: docs/directives.md

Source: @feugene/granularity 0.41.0, package.json#exports and dist/types