/
UIPageLayout.yaml
325 lines (325 loc) · 9.09 KB
/
UIPageLayout.yaml
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
name: UIPageLayout
type: class
category: GUI
memory_category: Instances
summary: ''
description: |
Creates a paged viewing window, like the home screen of a mobile device. You
can use a UIPageLayout by parenting it to a GuiObject. The UIPageLayout will
then apply itself to all of its GuiObject siblings.
code_samples:
inherits:
- UIGridStyleLayout
tags: []
deprecation_message: ''
properties:
- name: UIPageLayout.Animated
summary: |
Whether or not to animate transitions between pages.
description: |
Whether or not to animate transitions between pages.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
- name: UIPageLayout.Circular
summary: |
Whether or not the page layout wraps around at the ends.
description: |
Whether or not the page layout wraps around at the ends.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
- name: UIPageLayout.CurrentPage
summary: |
The page that is either currently being displayed or is the target of the
current animation.
description: |
The page that is either currently being displayed or is the target of the
current animation.
code_samples:
type: GuiObject
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Data
serialization:
can_load: false
can_save: true
- name: UIPageLayout.EasingDirection
summary: |
The easing direction to use when performing an animation.
description: |
The easing direction to use when performing an animation.
code_samples:
type: EasingDirection
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
- name: UIPageLayout.EasingStyle
summary: |
The easing style to use when performing an animation.
description: |
The easing style to use when performing an animation.
code_samples:
type: EasingStyle
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
- name: UIPageLayout.GamepadInputEnabled
summary: |
Controls the overrides of `NextSelection{Up, Down, Left, Right}`. Defaults
to true.
description: |
Controls the overrides of `NextSelection{Up,Down,Left,Right}`. Defaults to
true.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Input
serialization:
can_load: true
can_save: true
- name: UIPageLayout.Padding
summary: |
Determines the amount that pages are separated from each other by.
description: |
Determines the amount that pages are separated from each other by. Can be
set either using scale (Percentage of parent's size in the current
direction) or offset (a static spacing value, similar to pixel size).
code_samples:
type: UDim
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
- name: UIPageLayout.ScrollWheelInputEnabled
summary: |
Controls the use of scroll wheel, in case that it is intended for
something else. Defaults to true.
description: |
Controls the use of scroll wheel, in case that it is intended for
something else. Defaults to true.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Input
serialization:
can_load: true
can_save: true
- name: UIPageLayout.TouchInputEnabled
summary: |
Controls touch scrolling, in case this is a non-interactive layout.
Defaults to true.
description: |
Controls touch scrolling, in case this is a non-interactive layout.
Defaults to true.
code_samples:
type: bool
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Input
serialization:
can_load: true
can_save: true
- name: UIPageLayout.TweenTime
summary: |
The length of the animation.
description: |
The length of the animation.
code_samples:
type: float
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Appearance
serialization:
can_load: true
can_save: true
methods:
- name: UIPageLayout:JumpTo
summary: |
If the `page` is in the UIPageLayout, then it sets
`Class.UIPageLayout.CurrentPage` to it and animates to it. If the circular
layout is enabled, it will take the shortest path to this page.
description: |
If the `page` is in the UIPageLayout, then it sets
`Class.UIPageLayout.CurrentPage` to it and animates to it. If the circular
layout is enabled, it will take the shortest path to this page.
code_samples:
parameters:
- name: page
type: Instance
default:
summary: ''
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: UIPageLayout:JumpToIndex
summary: |
If the index is `>= 0` and less than the size of the layout, this method
acts like `Class.UIPageLayout:JumpTo()`. If it's out of bounds and
circular is set, it will animate the full distance between the in-bounds
index of `Class.UIPageLayout.CurrentPage` and the new index.
description: |
If the index is `>= 0` and less than the size of the layout, this method
acts like `Class.UIPageLayout:JumpTo()`. If it's out of bounds and
circular is set, it will animate the full distance between the in-bounds
index of `Class.UIPageLayout.CurrentPage` and the new index.
code_samples:
parameters:
- name: index
type: int
default:
summary: ''
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: UIPageLayout:Next
summary: |
Sets `Class.UIPageLayout.CurrentPage` to the page after the current page
and animates to it, or does nothing if there isn't a next page.
description: |
Sets `Class.UIPageLayout.CurrentPage` to the page after the current page
and animates to it, or does nothing if there isn't a next page.
code_samples:
parameters: []
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: UIPageLayout:Previous
summary: |
Sets `Class.UIPageLayout.CurrentPage` to the page before the current page
and animates to it, or does nothing if there isn't a previous page.
description: |
Sets `Class.UIPageLayout.CurrentPage` to the page before the current page
and animates to it, or does nothing if there isn't a previous page.
code_samples:
parameters: []
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
events:
- name: UIPageLayout.PageEnter
summary: |
Fires when a page comes into view, and is going to be rendered.
description: |
Fires when a page comes into view, and is going to be rendered.
code_samples:
parameters:
- name: page
type: Instance
default:
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: UIPageLayout.PageLeave
summary: |
Fires when a page leaves view, and will not be rendered.
description: |
Fires when a page leaves view, and will not be rendered.
code_samples:
parameters:
- name: page
type: Instance
default:
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
- name: UIPageLayout.Stopped
summary: |
Fires when an animation to `Class.UIPageLayout.CurrentPage` is completed
without being canceled, and the view stops scrolling.
description: |
Fires when an animation to `Class.UIPageLayout.CurrentPage` is completed
without being canceled, and the view stops scrolling.
code_samples:
parameters:
- name: currentPage
type: Instance
default:
summary: ''
tags: []
deprecation_message: ''
security: None
thread_safety: Unsafe
callbacks: []