forked from element-plus/element-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtooltip.d.ts
52 lines (36 loc) · 1.22 KB
/
tooltip.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import { ElementUIComponent } from './component'
import { PopoverPlacement } from './popover'
export type TooltipEffect = 'dark' | 'light'
/** Tooltip Component */
export declare class ElTooltip extends ElementUIComponent {
/** Tooltip theme */
effect: TooltipEffect
/** Display content, can be overridden by slot#content */
content: string
/** Position of Tooltip */
placement: PopoverPlacement
/** Visibility of Tooltip */
value: boolean
/** Whether Tooltip is disabled */
disabled: boolean
/** Offset of the Tooltip */
offset: number
/** Animation name */
transition: string
/** Whether an arrow is displayed. For more information, check Vue-popper page */
visibleArrow: boolean
/** Popper.js parameters */
popperOptions: Record<string, unknown>
/** Delay of appearance, in millisecond */
openDelay: number
/** Whether to control Tooltip manually. mouseenter and mouseleave won't have effects if set to true */
manual: boolean
/** Custom class name for Tooltip's popper */
popperClass: string
/** Whether the mouse can enter the tooltip */
enterable: string
/** Timeout in milliseconds to hide tooltip */
hideAfter: string
/** Tooltip tabindex */
tabindex: number
}