UNPKG

vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

41 lines (40 loc) 2.03 kB
import { ExtractPropTypes, PropType } from 'vue'; import { ConfigurableProps } from '@vexip-ui/config'; export declare const tooltipProps: { inherit: PropType<boolean>; trigger: PropType<"click" | "focus" | "hover" | "hover-focus" | "custom">; wrapper: PropType<string | boolean>; noArrow: PropType<boolean>; transitionName: PropType<string>; visible: PropType<boolean>; placement: PropType<"bottom" | "top" | "right" | "left" | "bottom-start" | "bottom-end" | "top-start" | "top-end" | "right-start" | "right-end" | "left-start" | "left-end">; outsideClose: PropType<boolean>; noHover: PropType<boolean>; tipClass: PropType<string | Record<string, any> | (string | Record<string, any>)[]>; tipStyle: PropType<string | import('vue').CSSProperties | (string | import('vue').CSSProperties)[]>; transfer: PropType<string | boolean>; disabled: PropType<boolean>; raw: PropType<boolean>; delay: PropType<number | number[]>; tipAlive: PropType<boolean>; reverse: PropType<boolean>; width: PropType<number | "trigger" | "auto">; virtual: PropType<{ getBoundingClientRect: () => DOMRect; } | { $el: { getBoundingClientRect: () => DOMRect; }; } | { x: number; y: number; }>; shift: PropType<boolean | "horizontal" | "vertical" | "both">; onToggle: PropType<((visible: boolean) => void) | ((visible: boolean) => void)[]>; onTipEnter: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; onTipLeave: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; onClickOutside: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; onOutsideClose: PropType<import('@vexip-ui/config').AnyFunction | import('@vexip-ui/config').AnyFunction[]>; }; export type TooltipProps = ExtractPropTypes<typeof tooltipProps>; export type TooltipCProps = ConfigurableProps<TooltipProps>;