forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQLayout.json
More file actions
99 lines (92 loc) · 2.44 KB
/
QLayout.json
File metadata and controls
99 lines (92 loc) · 2.44 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
{
"meta": {
"docsUrl": "https://v1.quasar.dev/layout/layout"
},
"behavior": {
"$listeners": true
},
"props": {
"view": {
"type": "String",
"desc": "Defines how your layout components (header/footer/drawer) should be placed on screen; See docs examples",
"default": "hhh lpr fff",
"examples": [
"hHh lpR fFf"
],
"category": "content"
},
"container": {
"type": "Boolean",
"desc": "Containerize the layout which means it changes the default behavior of expanding to the whole window; Useful (but not limited to) for when using on a QDialog",
"category": "content"
}
},
"slots": {
"default": {
"desc": "Suggestion: QHeader, QFooter, QDrawer, QPageContainer"
}
},
"events": {
"resize": {
"desc": "Emitted when layout size (height, width) changes",
"params": {
"size": {
"type": "Object",
"desc": "New size",
"definition": {
"height": {
"type": "Number",
"desc": "Layout height",
"examples": [ 575 ]
},
"width": {
"type": "Number",
"desc": "Layout height",
"examples": [ 575 ]
}
}
}
}
},
"scroll": {
"desc": "Emitted when user scrolls within layout",
"params": {
"details": {
"type": "Object",
"desc": "Scroll details",
"definition": {
"position": {
"type": "Number",
"desc": "Scroll offset (from top)",
"examples": [ 575 ]
},
"direction": {
"type": "String",
"desc": "Direction of scroll",
"values": [ "up", "down" ]
},
"directionChanged": {
"type": "Boolean",
"desc": "Has scroll direction changed since event was last emitted?"
},
"inflexionPosition": {
"type": "Number",
"desc": "Last scroll offset where scroll direction has changed",
"examples": [ 575 ]
}
}
}
}
},
"scroll-height": {
"desc": "Emitted when the scroll size of layout changes",
"params": {
"height": {
"type": "Number",
"desc": "New scroll height of layout",
"examples": [1442]
}
}
}
}
}