forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-file-example.json
More file actions
100 lines (86 loc) · 1.85 KB
/
api-file-example.json
File metadata and controls
100 lines (86 loc) · 1.85 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
{
"props": {
"hidden": {
"type": "Boolean",
"desc": "Puts component into 'hidden' mode",
"category": "state"
},
"width": {
"type": [ "Number", "String" ],
"desc": "Component width (in pixels)",
"examples": [ ":width=\"300\"", "400" ],
"category": "style"
},
"position": {
"type": "String",
"desc": "Positions component at one of the edges of the screen",
"examples": [ "bottom" ],
"required": true,
"default": "top",
"values": [ "top", "right", "bottom", "left" ],
"category": "content"
},
"font-size": {
"type": "String",
"desc": "The size in CSS units, including unit name, of the content (icon, text)",
"examples": [ "18px", "2rem" ],
"category": "style"
},
"color": {
"extends": "color"
},
"size": {
"extends": "size",
"desc": "My better description"
}
},
"slots": {
"default": {
"extends": "default"
},
"icon": {
"desc": "Slot for replacing the default dropdown icon"
}
},
"scopedSlots": {
"default": {
"extends": "default"
},
"item": {
"desc": "Scoped slot for displaying each uploaded file"
}
},
"events": {
"input": {
"extends": "input"
},
"click": {
"desc": "Emitted on QChip click if 'clickable' property is set",
"params": {
"evt": {
"type": "Object",
"desc": "JS event object"
}
}
}
},
"methods": {
"show": {
"extends": "show"
},
"showNow": {
"extends": "show",
"desc": "My better description"
},
"hide": {
"params": {
"evt": {
"type": "Object",
"required": false,
"desc": "JS event object"
}
},
"desc": "Triggers component to hide"
}
}
}