This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-9
lines changed Expand file tree Collapse file tree 1 file changed +29
-9
lines changed Original file line number Diff line number Diff line change 1
1
import Vue from 'vue'
2
2
3
3
export declare class Tab extends Vue {
4
- /** Title to be displayed under each step */
5
- title ?: string
6
- /** css class for each step icon */
7
- icon ?: string
8
- /***
9
- * Function to execute before tab switch. Return value must be boolean
10
- * If the return result is false, tab switch is restricted
4
+ /**
5
+ * Title to be displayed under each step.
6
+ *
7
+ * Default value: ''
8
+ */
9
+ title : string
10
+
11
+ /** CSS class to be applied to each step icon.
12
+ *
13
+ * Default value: ''
14
+ */
15
+ icon : string
16
+
17
+ /**
18
+ * Function to execute before changing tabs. If the return result is false, the tab switch is restricted.
19
+ */
20
+ beforeChange : ( ) => boolean | Promise < boolean >
21
+
22
+ /**
23
+ * Function to execute after changing tabs. It is safe to assume that necessary validation has already occurred.
24
+ */
25
+ afterChange : ( ) => void
26
+
27
+ /**
28
+ * Vue router route object.
11
29
*/
12
- beforeChange ( ) : boolean | Promise < boolean >
13
- /** Vue router route object */
14
30
route : string | object
31
+
32
+ /**
33
+ * Default value: () => {}
34
+ */
15
35
additionalInfo : object
16
36
}
You can’t perform that action at this time.
0 commit comments