v-click-outside

  • Directives
  • exports: 4

What the @feugene/granularity/directives/clickOutside subpath exports, with signatures from its type declarations.

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

On this page

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 | Array<HTMLElement | null | undefined>)
ClickOutsideBindingValuetype
type ClickOutsideBindingValue
vClickOutsideconst
const vClickOutside: Directive<HTMLElement, ClickOutsideBindingValue>

Library prose

Read it in the repository: docs/directives.md