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 22 "trailingComma": "es5",
33 "singleQuote": true,
44 "printWidth": 100,
5- "useTabs": true,
5+ "semi": false,
6+ "tabWidth": 3,
7+ "useTabs": false,
68 "overrides": [
79 {
810 "files": "README.md",
911 "options": {
1012 "printWidth": 80,
11- "trailingComma": "none",
12- "useTabs": false,
13- "semi": false
13+ "trailingComma": "none"
1414 }
1515 }
1616 ]
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