File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change
1
+ declare module "vue3-popper" {
2
+ import { DefineComponent } from "vue" ;
3
+
4
+ interface Props {
5
+ placement ?:
6
+ | "auto"
7
+ | "auto-start"
8
+ | "auto-end"
9
+ | "top"
10
+ | "top-start"
11
+ | "top-end"
12
+ | "bottom"
13
+ | "bottom-start"
14
+ | "bottom-end"
15
+ | "right"
16
+ | "right-start"
17
+ | "right-end"
18
+ | "left"
19
+ | "left-start"
20
+ | "left-end" ;
21
+ disableClickAway ?: boolean ;
22
+ offsetSkid ?: string ;
23
+ offsetDistance ?: string ;
24
+ hover ?: boolean ;
25
+ show ?: boolean ;
26
+ disabled ?: boolean ;
27
+ openDelay ?: number | string ;
28
+ closeDelay ?: number | string ;
29
+ zIndex ?: number | string ;
30
+ arrow ?: boolean ;
31
+ arrowPadding ?: string ;
32
+ interactive ?: boolean ;
33
+ locked ?: boolean ;
34
+ content ?: string ;
35
+ "onOpen:popper" ?: ( ) => void ;
36
+ "onClose:popper" ?: ( ) => void ;
37
+ }
38
+
39
+ const Popper : DefineComponent < Props > ;
40
+
41
+ export default Popper ;
42
+ }
Original file line number Diff line number Diff line change 24
24
"unpkg" : " dist/popper.min.js" ,
25
25
"files" : [
26
26
" dist/*" ,
27
- " src/**/*.vue"
27
+ " src/**/*.vue" ,
28
+ " index.d.ts"
28
29
],
29
30
"sideEffects" : false ,
30
31
"scripts" : {
You can’t perform that action at this time.
0 commit comments