UNPKG

@vuesax-alpha/nightly

Version:
6 lines (5 loc) 433 B
import type { PopperTriggerType } from 'vuesax-alpha/es/components/popper'; import type { Arrayable } from 'vuesax-alpha/es/utils'; import type { Ref } from 'vue'; export declare const isTriggerType: (trigger: Arrayable<PopperTriggerType>, type: PopperTriggerType) => boolean; export declare const whenTrigger: (trigger: Ref<Arrayable<PopperTriggerType>>, type: PopperTriggerType, handler: (e: Event) => void) => (e: Event) => void;