forked from valgeirb/vue3-popper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
41 lines (38 loc) · 870 Bytes
/
index.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
declare module "vue3-popper" {
import { DefineComponent } from "vue";
interface Props {
placement?:
| "auto"
| "auto-start"
| "auto-end"
| "top"
| "top-start"
| "top-end"
| "bottom"
| "bottom-start"
| "bottom-end"
| "right"
| "right-start"
| "right-end"
| "left"
| "left-start"
| "left-end";
disableClickAway?: boolean;
offsetSkid?: string;
offsetDistance?: string;
hover?: boolean;
show?: boolean;
disabled?: boolean;
openDelay?: number | string;
closeDelay?: number | string;
arrow?: boolean;
arrowPadding?: string;
interactive?: boolean;
locked?: boolean;
content?: string;
"onOpen:popper"?: () => void;
"onClose:popper"?: () => void;
}
const Popper: DefineComponent<Props>;
export default Popper;
}