v-click-outside
Import
import { vClickOutside } from '@feugene/granularity/directives/clickOutside'Exports
ClickOutsideHandlertypetype ClickOutsideHandler = (event: MouseEvent | TouchEvent | PointerEvent) => voidClickOutsideExcludetypetype ClickOutsideExclude = HTMLElement | string | (() => HTMLElement | null | undefined)ClickOutsideBindingValuetypetype ClickOutsideBindingValuevClickOutsideconstconst 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
Source: @feugene/granularity 0.41.0, package.json#exports and dist/types