vue-tippy
Advanced tools
Comparing version 6.0.0-alpha.61 to 6.0.0-alpha.62
@@ -414,3 +414,3 @@ import { Component } from 'vue'; | ||
export declare type TippyComponent = InstanceType<typeof Tippy & UnwrapNestedRefs<Pick<ReturnType<typeof useTippy>, 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'>>>; | ||
export declare type TippyComponent = InstanceType<typeof Tippy> & UnwrapNestedRefs<Pick<ReturnType<typeof useTippy>, 'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state'>>; | ||
@@ -725,647 +725,3 @@ export declare type TippyContent = Content | VNode | Component | Ref; | ||
export declare function useTippyComponent(opts?: TippyOptions, children?: any): { | ||
instance: import("vue").Ref<({ | ||
$: import("vue").ComponentInternalInstance; | ||
$data: {}; | ||
$props: Partial<{ | ||
content: import("tippy.js").Content; | ||
triggerTarget: Element | Element[]; | ||
getReferenceClientRect: import("tippy.js").GetReferenceClientRect; | ||
animateFill: boolean; | ||
appendTo: Element | "parent" | ((ref: Element) => Element); | ||
aria: { | ||
content?: "auto" | "describedby" | "labelledby" | null | undefined; | ||
expanded?: boolean | "auto" | undefined; | ||
}; | ||
delay: number | [number, number]; | ||
duration: number | [number, number]; | ||
followCursor: boolean | "horizontal" | "vertical" | "initial"; | ||
hideOnClick: boolean | "toggle"; | ||
ignoreAttributes: boolean; | ||
inlinePositioning: boolean; | ||
interactive: boolean; | ||
interactiveBorder: number; | ||
interactiveDebounce: number; | ||
moveTransition: string; | ||
offset: [number, number] | (({ placement, popper, reference, }: { | ||
placement: import("@popperjs/core").Placement; | ||
popper: import("@popperjs/core").Rect; | ||
reference: import("@popperjs/core").Rect; | ||
}) => [number, number]); | ||
placement: import("@popperjs/core").Placement; | ||
plugins: import("tippy.js").Plugin<unknown>[]; | ||
popperOptions: Partial<import("@popperjs/core").Options>; | ||
render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => { | ||
popper: import("tippy.js").PopperElement<import("tippy.js").Props>; | ||
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined; | ||
}; | ||
showOnCreate: boolean; | ||
sticky: boolean | "reference" | "popper"; | ||
touch: boolean | "hold" | ["hold", number]; | ||
trigger: string; | ||
onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
allowHTML: boolean; | ||
animation: string | boolean; | ||
arrow: string | boolean | DocumentFragment | SVGElement; | ||
inertia: boolean; | ||
maxWidth: string | number; | ||
role: string; | ||
theme: string; | ||
zIndex: number; | ||
tag: string; | ||
contentTag: string; | ||
contentClass: string; | ||
}> & Pick<Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: import("vue").PropType<string | Element>; | ||
}; | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentTag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentClass: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
appendTo: { | ||
default: () => Element | "parent" | ((ref: Element) => Element); | ||
}; | ||
aria: { | ||
default: () => { | ||
content?: "auto" | "describedby" | "labelledby" | null | undefined; | ||
expanded?: boolean | "auto" | undefined; | ||
}; | ||
}; | ||
delay: { | ||
default: () => number | [number, number]; | ||
}; | ||
duration: { | ||
default: () => number | [number, number]; | ||
}; | ||
getReferenceClientRect: { | ||
default: () => import("tippy.js").GetReferenceClientRect | null; | ||
}; | ||
hideOnClick: { | ||
default: () => boolean | "toggle"; | ||
}; | ||
ignoreAttributes: { | ||
default: () => boolean; | ||
}; | ||
interactive: { | ||
default: () => boolean; | ||
}; | ||
interactiveBorder: { | ||
default: () => number; | ||
}; | ||
interactiveDebounce: { | ||
default: () => number; | ||
}; | ||
moveTransition: { | ||
default: () => string; | ||
}; | ||
offset: { | ||
default: () => [number, number] | (({ placement, popper, reference, }: { | ||
placement: import("@popperjs/core").Placement; | ||
popper: import("@popperjs/core").Rect; | ||
reference: import("@popperjs/core").Rect; | ||
}) => [number, number]); | ||
}; | ||
onAfterUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onBeforeUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onCreate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onDestroy: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHidden: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHide: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onMount: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onShow: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onShown: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onTrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onUntrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onClickOutside: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
placement: { | ||
default: () => import("@popperjs/core").Placement; | ||
}; | ||
plugins: { | ||
default: () => import("tippy.js").Plugin<unknown>[]; | ||
}; | ||
popperOptions: { | ||
default: () => Partial<import("@popperjs/core").Options>; | ||
}; | ||
render: { | ||
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => { | ||
popper: import("tippy.js").PopperElement<import("tippy.js").Props>; | ||
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined; | ||
}) | null; | ||
}; | ||
showOnCreate: { | ||
default: () => boolean; | ||
}; | ||
touch: { | ||
default: () => boolean | "hold" | ["hold", number]; | ||
}; | ||
trigger: { | ||
default: () => string; | ||
}; | ||
triggerTarget: { | ||
default: () => Element | Element[] | null; | ||
}; | ||
animateFill: { | ||
default: () => boolean; | ||
}; | ||
followCursor: { | ||
default: () => boolean | "horizontal" | "vertical" | "initial"; | ||
}; | ||
inlinePositioning: { | ||
default: () => boolean; | ||
}; | ||
sticky: { | ||
default: () => boolean | "reference" | "popper"; | ||
}; | ||
allowHTML: { | ||
default: () => boolean; | ||
}; | ||
animation: { | ||
default: () => string | boolean; | ||
}; | ||
arrow: { | ||
default: () => string | boolean | DocumentFragment | SVGElement; | ||
}; | ||
content: { | ||
default: () => import("tippy.js").Content; | ||
}; | ||
inertia: { | ||
default: () => boolean; | ||
}; | ||
maxWidth: { | ||
default: () => string | number; | ||
}; | ||
role: { | ||
default: () => string; | ||
}; | ||
theme: { | ||
default: () => string; | ||
}; | ||
zIndex: { | ||
default: () => number; | ||
}; | ||
}>> & { | ||
onState?: ((...args: any[]) => any) | undefined; | ||
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "onState" | "to" | "key" | "ref" | "ref_for" | "ref_key" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "class" | "style">; | ||
$attrs: Record<string, unknown>; | ||
$refs: Record<string, unknown>; | ||
$slots: Readonly<{ | ||
[name: string]: import("vue").Slot | undefined; | ||
}>; | ||
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null; | ||
$emit: (event: "state", ...args: any[]) => void; | ||
$el: any; | ||
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: import("vue").PropType<string | Element>; | ||
}; | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentTag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentClass: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
appendTo: { | ||
default: () => Element | "parent" | ((ref: Element) => Element); | ||
}; | ||
aria: { | ||
default: () => { | ||
content?: "auto" | "describedby" | "labelledby" | null | undefined; | ||
expanded?: boolean | "auto" | undefined; | ||
}; | ||
}; | ||
delay: { | ||
default: () => number | [number, number]; | ||
}; | ||
duration: { | ||
default: () => number | [number, number]; | ||
}; | ||
getReferenceClientRect: { | ||
default: () => import("tippy.js").GetReferenceClientRect | null; | ||
}; | ||
hideOnClick: { | ||
default: () => boolean | "toggle"; | ||
}; | ||
ignoreAttributes: { | ||
default: () => boolean; | ||
}; | ||
interactive: { | ||
default: () => boolean; | ||
}; | ||
interactiveBorder: { | ||
default: () => number; | ||
}; | ||
interactiveDebounce: { | ||
default: () => number; | ||
}; | ||
moveTransition: { | ||
default: () => string; | ||
}; | ||
offset: { | ||
default: () => [number, number] | (({ placement, popper, reference, }: { | ||
placement: import("@popperjs/core").Placement; | ||
popper: import("@popperjs/core").Rect; | ||
reference: import("@popperjs/core").Rect; | ||
}) => [number, number]); | ||
}; | ||
onAfterUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onBeforeUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onCreate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onDestroy: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHidden: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHide: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onMount: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onShow: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onShown: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onTrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onUntrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onClickOutside: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
placement: { | ||
default: () => import("@popperjs/core").Placement; | ||
}; | ||
plugins: { | ||
default: () => import("tippy.js").Plugin<unknown>[]; | ||
}; | ||
popperOptions: { | ||
default: () => Partial<import("@popperjs/core").Options>; | ||
}; | ||
render: { | ||
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => { | ||
popper: import("tippy.js").PopperElement<import("tippy.js").Props>; | ||
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined; | ||
}) | null; | ||
}; | ||
showOnCreate: { | ||
default: () => boolean; | ||
}; | ||
touch: { | ||
default: () => boolean | "hold" | ["hold", number]; | ||
}; | ||
trigger: { | ||
default: () => string; | ||
}; | ||
triggerTarget: { | ||
default: () => Element | Element[] | null; | ||
}; | ||
animateFill: { | ||
default: () => boolean; | ||
}; | ||
followCursor: { | ||
default: () => boolean | "horizontal" | "vertical" | "initial"; | ||
}; | ||
inlinePositioning: { | ||
default: () => boolean; | ||
}; | ||
sticky: { | ||
default: () => boolean | "reference" | "popper"; | ||
}; | ||
allowHTML: { | ||
default: () => boolean; | ||
}; | ||
animation: { | ||
default: () => string | boolean; | ||
}; | ||
arrow: { | ||
default: () => string | boolean | DocumentFragment | SVGElement; | ||
}; | ||
content: { | ||
default: () => import("tippy.js").Content; | ||
}; | ||
inertia: { | ||
default: () => boolean; | ||
}; | ||
maxWidth: { | ||
default: () => string | number; | ||
}; | ||
role: { | ||
default: () => string; | ||
}; | ||
theme: { | ||
default: () => string; | ||
}; | ||
zIndex: { | ||
default: () => number; | ||
}; | ||
}>> & { | ||
onState?: ((...args: any[]) => any) | undefined; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "state"[], string, { | ||
content: import("tippy.js").Content; | ||
triggerTarget: Element | Element[]; | ||
getReferenceClientRect: import("tippy.js").GetReferenceClientRect; | ||
animateFill: boolean; | ||
appendTo: Element | "parent" | ((ref: Element) => Element); | ||
aria: { | ||
content?: "auto" | "describedby" | "labelledby" | null | undefined; | ||
expanded?: boolean | "auto" | undefined; | ||
}; | ||
delay: number | [number, number]; | ||
duration: number | [number, number]; | ||
followCursor: boolean | "horizontal" | "vertical" | "initial"; | ||
hideOnClick: boolean | "toggle"; | ||
ignoreAttributes: boolean; | ||
inlinePositioning: boolean; | ||
interactive: boolean; | ||
interactiveBorder: number; | ||
interactiveDebounce: number; | ||
moveTransition: string; | ||
offset: [number, number] | (({ placement, popper, reference, }: { | ||
placement: import("@popperjs/core").Placement; | ||
popper: import("@popperjs/core").Rect; | ||
reference: import("@popperjs/core").Rect; | ||
}) => [number, number]); | ||
placement: import("@popperjs/core").Placement; | ||
plugins: import("tippy.js").Plugin<unknown>[]; | ||
popperOptions: Partial<import("@popperjs/core").Options>; | ||
render: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => { | ||
popper: import("tippy.js").PopperElement<import("tippy.js").Props>; | ||
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined; | ||
}; | ||
showOnCreate: boolean; | ||
sticky: boolean | "reference" | "popper"; | ||
touch: boolean | "hold" | ["hold", number]; | ||
trigger: string; | ||
onAfterUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
onBeforeUpdate: (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
onCreate: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onDestroy: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onHidden: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onHide: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
onMount: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onShow: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
onShown: (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
onTrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
onUntrigger: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
onClickOutside: (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
allowHTML: boolean; | ||
animation: string | boolean; | ||
arrow: string | boolean | DocumentFragment | SVGElement; | ||
inertia: boolean; | ||
maxWidth: string | number; | ||
role: string; | ||
theme: string; | ||
zIndex: number; | ||
tag: string; | ||
contentTag: string; | ||
contentClass: string; | ||
}> & { | ||
beforeCreate?: (() => void) | (() => void)[] | undefined; | ||
created?: (() => void) | (() => void)[] | undefined; | ||
beforeMount?: (() => void) | (() => void)[] | undefined; | ||
mounted?: (() => void) | (() => void)[] | undefined; | ||
beforeUpdate?: (() => void) | (() => void)[] | undefined; | ||
updated?: (() => void) | (() => void)[] | undefined; | ||
activated?: (() => void) | (() => void)[] | undefined; | ||
deactivated?: (() => void) | (() => void)[] | undefined; | ||
beforeDestroy?: (() => void) | (() => void)[] | undefined; | ||
beforeUnmount?: (() => void) | (() => void)[] | undefined; | ||
destroyed?: (() => void) | (() => void)[] | undefined; | ||
unmounted?: (() => void) | (() => void)[] | undefined; | ||
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined; | ||
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[] | undefined; | ||
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[] | undefined; | ||
}; | ||
$forceUpdate: () => void; | ||
$nextTick: typeof import("vue").nextTick; | ||
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle; | ||
} & Readonly<import("vue").ExtractPropTypes<{ | ||
to: { | ||
type: import("vue").PropType<string | Element>; | ||
}; | ||
tag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentTag: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
contentClass: { | ||
type: StringConstructor; | ||
default: null; | ||
}; | ||
appendTo: { | ||
default: () => Element | "parent" | ((ref: Element) => Element); | ||
}; | ||
aria: { | ||
default: () => { | ||
content?: "auto" | "describedby" | "labelledby" | null | undefined; | ||
expanded?: boolean | "auto" | undefined; | ||
}; | ||
}; | ||
delay: { | ||
default: () => number | [number, number]; | ||
}; | ||
duration: { | ||
default: () => number | [number, number]; | ||
}; | ||
getReferenceClientRect: { | ||
default: () => import("tippy.js").GetReferenceClientRect | null; | ||
}; | ||
hideOnClick: { | ||
default: () => boolean | "toggle"; | ||
}; | ||
ignoreAttributes: { | ||
default: () => boolean; | ||
}; | ||
interactive: { | ||
default: () => boolean; | ||
}; | ||
interactiveBorder: { | ||
default: () => number; | ||
}; | ||
interactiveDebounce: { | ||
default: () => number; | ||
}; | ||
moveTransition: { | ||
default: () => string; | ||
}; | ||
offset: { | ||
default: () => [number, number] | (({ placement, popper, reference, }: { | ||
placement: import("@popperjs/core").Placement; | ||
popper: import("@popperjs/core").Rect; | ||
reference: import("@popperjs/core").Rect; | ||
}) => [number, number]); | ||
}; | ||
onAfterUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onBeforeUpdate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, partialProps: Partial<import("tippy.js").Props>) => void; | ||
}; | ||
onCreate: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onDestroy: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHidden: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onHide: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onMount: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onShow: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => false | void; | ||
}; | ||
onShown: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>) => void; | ||
}; | ||
onTrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onUntrigger: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
onClickOutside: { | ||
default: () => (instance: import("tippy.js").Instance<import("tippy.js").Props>, event: Event) => void; | ||
}; | ||
placement: { | ||
default: () => import("@popperjs/core").Placement; | ||
}; | ||
plugins: { | ||
default: () => import("tippy.js").Plugin<unknown>[]; | ||
}; | ||
popperOptions: { | ||
default: () => Partial<import("@popperjs/core").Options>; | ||
}; | ||
render: { | ||
default: () => ((instance: import("tippy.js").Instance<import("tippy.js").Props>) => { | ||
popper: import("tippy.js").PopperElement<import("tippy.js").Props>; | ||
onUpdate?: ((prevProps: import("tippy.js").Props, nextProps: import("tippy.js").Props) => void) | undefined; | ||
}) | null; | ||
}; | ||
showOnCreate: { | ||
default: () => boolean; | ||
}; | ||
touch: { | ||
default: () => boolean | "hold" | ["hold", number]; | ||
}; | ||
trigger: { | ||
default: () => string; | ||
}; | ||
triggerTarget: { | ||
default: () => Element | Element[] | null; | ||
}; | ||
animateFill: { | ||
default: () => boolean; | ||
}; | ||
followCursor: { | ||
default: () => boolean | "horizontal" | "vertical" | "initial"; | ||
}; | ||
inlinePositioning: { | ||
default: () => boolean; | ||
}; | ||
sticky: { | ||
default: () => boolean | "reference" | "popper"; | ||
}; | ||
allowHTML: { | ||
default: () => boolean; | ||
}; | ||
animation: { | ||
default: () => string | boolean; | ||
}; | ||
arrow: { | ||
default: () => string | boolean | DocumentFragment | SVGElement; | ||
}; | ||
content: { | ||
default: () => import("tippy.js").Content; | ||
}; | ||
inertia: { | ||
default: () => boolean; | ||
}; | ||
maxWidth: { | ||
default: () => string | number; | ||
}; | ||
role: { | ||
default: () => string; | ||
}; | ||
theme: { | ||
default: () => string; | ||
}; | ||
zIndex: { | ||
default: () => number; | ||
}; | ||
}>> & { | ||
onState?: ((...args: any[]) => any) | undefined; | ||
} & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>> & {} & import("vue").ComponentCustomProperties) | undefined>; | ||
instance: import("vue").Ref<TippyComponent | undefined>; | ||
TippyComponent: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
@@ -1372,0 +728,0 @@ [key: string]: any; |
/*! | ||
* vue-tippy v6.0.0-alpha.61 | ||
* vue-tippy v6.0.0-alpha.62 | ||
* (c) 2022 | ||
@@ -4,0 +4,0 @@ * @license MIT |
{ | ||
"name": "vue-tippy", | ||
"version": "6.0.0-alpha.61", | ||
"version": "6.0.0-alpha.62", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/vue-tippy.mjs", |
@@ -22,9 +22,6 @@ import Tippy from '../components/Tippy' | ||
export declare type TippyComponent = InstanceType< | ||
typeof Tippy & | ||
UnwrapNestedRefs< | ||
Pick< | ||
ReturnType<typeof useTippy>, | ||
'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state' | ||
> | ||
export declare type TippyComponent = InstanceType<typeof Tippy> & UnwrapNestedRefs< | ||
Pick< | ||
ReturnType<typeof useTippy>, | ||
'tippy' | 'refresh' | 'refreshContent' | 'setContent' | 'setProps' | 'destroy' | 'hide' | 'show' | 'disable' | 'enable' | 'unmount' | 'mount' | 'state' | ||
> | ||
@@ -31,0 +28,0 @@ > |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
842653
21317