forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQDialog.json
More file actions
139 lines (116 loc) · 3.51 KB
/
QDialog.json
File metadata and controls
139 lines (116 loc) · 3.51 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"mixins": [ "mixins/model-toggle", "mixins/portal" ],
"meta": {
"docsUrl": "https://v1.quasar.dev/vue-components/dialog"
},
"behavior": {
"$listeners": true
},
"props": {
"persistent": {
"type": "Boolean",
"desc": "User cannot dismiss Dialog if clicking outside of it or hitting ESC key; Also, an app route change won't dismiss it",
"category": "behavior"
},
"no-esc-dismiss": {
"type": "Boolean",
"desc": "User cannot dismiss Dialog by hitting ESC key; No need to set it if 'persistent' prop is also set",
"category": "behavior"
},
"no-backdrop-dismiss": {
"type": "Boolean",
"desc": "User cannot dismiss Dialog by clicking outside of it; No need to set it if 'persistent' prop is also set",
"category": "behavior"
},
"no-route-dismiss": {
"type": "Boolean",
"desc": "Changing route app won't dismiss Dialog; No need to set it if 'persistent' prop is also set",
"category": "behavior"
},
"auto-close": {
"type": "Boolean",
"desc": "Any click/tap inside of the dialog will close it",
"category": "behavior"
},
"seamless": {
"type": "Boolean",
"desc": "Put Dialog into seamless mode; Does not use a backdrop so user is able to interact with the rest of the page too",
"category": "content"
},
"maximized": {
"type": "Boolean",
"desc": "Put Dialog into maximized mode",
"category": "content"
},
"full-width": {
"type": "Boolean",
"desc": "Dialog will try to render with same width as the window",
"category": "content"
},
"full-height": {
"type": "Boolean",
"desc": "Dialog will try to render with same height as the window",
"category": "content"
},
"position": {
"type": "String",
"desc": "Stick dialog to one of the sides (top, right, bottom or left)",
"default": "standard",
"values": [ "standard", "top", "right", "bottom", "left" ],
"examples": [ "top", "right" ],
"category": "content"
},
"transition-show": {
"extends": "transition",
"default": "scale",
"category": "behavior"
},
"transition-hide": {
"extends": "transition",
"default": "scale",
"category": "behavior"
},
"square": {
"type": "Boolean",
"desc": "Forces content to have squared borders",
"category": "style"
},
"no-refocus": {
"type": "Boolean",
"desc": "(Accessibility) When Dialog gets hidden, do not refocus on the DOM element that previously had focus",
"category": "behavior"
},
"no-focus": {
"type": "Boolean",
"desc": "(Accessibility) When Dialog gets shown, do not switch focus on it",
"category": "behavior"
},
"no-shake": {
"type": "Boolean",
"desc": "Do not shake up the Dialog to catch user's attention",
"category": "behavior",
"addedIn": "v1.17"
}
},
"events": {
"shake": {
"desc": "Emitted when the Dialog shakes in order to catch user's attention, unless the 'no-shake' property is set"
},
"escape-key": {
"desc": "Emitted when ESC key is pressed; Does not get emitted if Dialog is 'persistent' or it has 'no-esc-key' set"
}
},
"methods": {
"focus": {
"desc": "Focus dialog; if you have content with autofocus attribute, it will directly focus it"
},
"shake": {
"desc": "Shakes dialog"
}
},
"slots": {
"default": {
"extends": "default"
}
}
}