forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQFab.json
More file actions
110 lines (95 loc) · 2.39 KB
/
QFab.json
File metadata and controls
110 lines (95 loc) · 2.39 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"mixins": [ "mixins/model-toggle", "mixins/fab" ],
"props": {
"value": {
"desc": "Controls state of fab actions (showing/hidden); Works best with v-model directive, otherwise use along listening to 'input' event",
"category": "model"
},
"icon": {
"extends": "icon"
},
"active-icon": {
"extends": "icon"
},
"hide-icon": {
"type": "Boolean",
"desc": "Hide the icon (don't use any)",
"category": "style|content",
"addedIn": "v1.9.14"
},
"direction": {
"type": "String",
"desc": "Direction to expand Fab Actions to",
"default": "right",
"values": [ "up", "right", "down", "left" ],
"examples": [ "down" ],
"category": "behavior"
},
"vertical-actions-align": {
"type": "String",
"desc": "The side of the Fab where Fab Actions will expand (only when direction is 'up' or 'down')",
"default": "center",
"values": [ "left", "center", "right" ],
"category": "style|content",
"addedIn": "v1.9.0"
},
"persistent": {
"type": "Boolean",
"desc": "By default, Fab Actions are hidden when user navigates to another route and this prop disables this behavior",
"category": "behavior"
}
},
"slots": {
"default": {
"desc": "This is where QFabActions may go into"
},
"tooltip": {
"desc": "Slot specifically designed for a QTooltip"
}
},
"scopedSlots": {
"icon": {
"desc": "Slot for icon shown when FAB is closed; Suggestion: QIcon",
"scope": {
"opened": {
"type": "Boolean",
"desc": "FAB is opened"
}
},
"addedIn": "v1.17"
},
"active-icon": {
"desc": "Slot for icon shown when FAB is opened; Suggestion: QIcon",
"scope": {
"opened": {
"type": "Boolean",
"desc": "FAB is opened"
}
},
"addedIn": "v1.17"
},
"label": {
"desc": "Slot for label",
"scope": {
"opened": {
"type": "Boolean",
"desc": "FAB is opened"
}
},
"addedIn": "v1.17"
}
},
"events": {
"input": {
"desc": "Emitted when fab actions are shown/hidden; Captured by v-model directive"
}
},
"methods": {
"show": {
"desc": "Expands fab actions list"
},
"hide": {
"desc": "Collapses fab actions list"
}
}
}