UNPKG

@tplc/wot

Version:

41 lines (40 loc) 818 B
export declare function usePopover(): { popStyle: import('vue').Ref<string> arrowStyle: import('vue').Ref<string> showStyle: import('vue').Ref<string> arrowClass: import('vue').Ref<string> init: ( placement: | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end', visibleArrow: boolean, selector: string, ) => void control: ( placement: | 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end', offset: number, ) => void noop: () => void }