forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQResizeObserver.json
More file actions
51 lines (48 loc) · 1.05 KB
/
QResizeObserver.json
File metadata and controls
51 lines (48 loc) · 1.05 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
{
"meta": {
"docsUrl": "https://v1.quasar.dev/vue-components/resize-observer"
},
"props": {
"debounce": {
"type": [ "String", "Number" ],
"desc": "Debounce amount (in milliseconds)",
"default": 100,
"examples": [ "0", "530" ],
"category": "behavior"
}
},
"events": {
"resize": {
"desc": "Parent element has resized (width or height changed)",
"params": {
"size": {
"type": "Object",
"desc": "New size",
"definition": {
"height": {
"type": "Number",
"desc": "Layout height",
"examples": [ 822 ]
},
"width": {
"type": "Number",
"desc": "Layout width",
"examples": [ 822 ]
}
}
}
}
}
},
"methods": {
"trigger": {
"desc": "Emit a 'resize' event",
"params": {
"immediately": {
"type": "Boolean",
"desc": "Skip over the debounce amount"
}
}
}
}
}