File tree Expand file tree Collapse file tree 5 files changed +541
-552
lines changed Expand file tree Collapse file tree 5 files changed +541
-552
lines changed Original file line number Diff line number Diff line change 2
2
"trailingComma": "es5",
3
3
"singleQuote": true,
4
4
"printWidth": 100,
5
- "useTabs": true,
5
+ "semi": false,
6
+ "tabWidth": 3,
7
+ "useTabs": false,
6
8
"overrides": [
7
9
{
8
10
"files": "README.md",
9
11
"options": {
10
12
"printWidth": 80,
11
- "trailingComma": "none",
12
- "useTabs": false,
13
- "semi": false
13
+ "trailingComma": "none"
14
14
}
15
15
}
16
16
]
Original file line number Diff line number Diff line change
1
+ import type { Ref } from 'vue'
2
+
3
+ export type UseActiveOptions = {
4
+ root ?: Ref < HTMLElement | null > | HTMLElement | null
5
+ jumpToFirst ?: boolean
6
+ jumpToLast ?: boolean
7
+ overlayHeight ?: number
8
+ minWidth ?: number
9
+ replaceHash ?: boolean
10
+ edgeOffset ?: {
11
+ first ?: number
12
+ last ?: number
13
+ }
14
+ boundaryOffset ?: {
15
+ toTop ?: number
16
+ toBottom ?: number
17
+ }
18
+ }
19
+
20
+ export type UseActiveReturn = {
21
+ isActive : ( id : string ) => boolean
22
+ setActive : ( id : string ) => void
23
+ activeId : Ref < string >
24
+ activeIndex : Ref < number >
25
+ }
You can’t perform that action at this time.
0 commit comments