@nativescript/core 8.8.3-alpha.0 → 8.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/observable/index.d.ts +0 -1
- package/data/observable/index.js +0 -1
- package/data/observable/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/ui/action-bar/index.d.ts +0 -33
- package/ui/activity-indicator/index.d.ts +0 -4
- package/ui/button/index.d.ts +0 -6
- package/ui/content-view/index.d.ts +0 -9
- package/ui/core/view/index.d.ts +7 -211
- package/ui/core/view/view-common.d.ts +0 -6
- package/ui/core/view/view-common.js +0 -12
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view-base/index.d.ts +2 -93
- package/ui/core/view-base/index.js +0 -18
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.d.ts +0 -1
- package/ui/date-picker/date-picker-common.js +0 -1
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.d.ts +0 -30
- package/ui/editable-text-base/editable-text-base-common.d.ts +0 -1
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.d.ts +0 -42
- package/ui/frame/frame-common.d.ts +1 -1
- package/ui/frame/frame-common.js +2 -2
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/index.d.ts +2 -39
- package/ui/gestures/gestures-common.d.ts +0 -22
- package/ui/gestures/gestures-common.js +0 -22
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/html-view/html-view-common.d.ts +0 -1
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.d.ts +2 -16
- package/ui/image/image-common.d.ts +0 -2
- package/ui/image/image-common.js +0 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.d.ts +1 -43
- package/ui/index.d.ts +0 -2
- package/ui/index.js.map +1 -1
- package/ui/label/index.d.ts +0 -4
- package/ui/layouts/absolute-layout/index.d.ts +0 -2
- package/ui/layouts/dock-layout/index.d.ts +1 -5
- package/ui/layouts/flexbox-layout/index.d.ts +0 -32
- package/ui/layouts/grid-layout/index.d.ts +0 -19
- package/ui/layouts/layout-base.d.ts +0 -14
- package/ui/layouts/root-layout/index.d.ts +0 -3
- package/ui/layouts/stack-layout/index.d.ts +0 -3
- package/ui/layouts/wrap-layout/index.d.ts +0 -8
- package/ui/list-picker/index.d.ts +1 -12
- package/ui/list-picker/list-picker-common.d.ts +0 -1
- package/ui/list-picker/list-picker-common.js +0 -1
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.d.ts +0 -24
- package/ui/page/index.d.ts +2 -31
- package/ui/placeholder/index.d.ts +0 -4
- package/ui/progress/index.d.ts +0 -13
- package/ui/proxy-view-container/index.d.ts +0 -2
- package/ui/proxy-view-container/index.js +0 -2
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +0 -2
- package/ui/repeater/index.js +0 -2
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.d.ts +0 -10
- package/ui/search-bar/index.d.ts +0 -14
- package/ui/segmented-bar/index.d.ts +5 -21
- package/ui/slider/index.d.ts +0 -27
- package/ui/slider/slider-common.d.ts +0 -1
- package/ui/slider/slider-common.js +0 -1
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/styling/style/index.d.ts +1 -3
- package/ui/styling/style/index.js.map +1 -1
- package/ui/switch/index.d.ts +0 -11
- package/ui/tab-view/index.d.ts +5 -43
- package/ui/text-base/formatted-string.d.ts +0 -24
- package/ui/text-base/index.d.ts +0 -47
- package/ui/text-base/span.d.ts +0 -30
- package/ui/text-base/text-base-common.d.ts +0 -2
- package/ui/text-base/text-base-common.js +0 -6
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.d.ts +0 -13
- package/ui/text-view/index.d.ts +0 -11
- package/ui/time-picker/index.d.ts +0 -27
- package/ui/time-picker/time-picker-common.d.ts +0 -1
- package/ui/time-picker/time-picker-common.js +0 -1
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/web-view/index.d.ts +0 -12
- package/utils/index.ios.js +3 -2
- package/utils/index.ios.js.map +1 -1
package/ui/core/view/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { CoreTypes } from '../../../core-types';
|
|
1
|
+
import { ViewBase } from '../view-base';
|
|
2
|
+
import { Property, InheritedProperty } from '../properties';
|
|
4
3
|
import { EventData } from '../../../data/observable';
|
|
4
|
+
import { Color } from '../../../color';
|
|
5
5
|
import { Animation, AnimationDefinition, AnimationPromise } from '../../animation';
|
|
6
|
-
import { GestureTypes, GesturesObserver
|
|
7
|
-
import { ShadowCSSValues } from '../../styling/css-shadow';
|
|
6
|
+
import { GestureTypes, GesturesObserver } from '../../gestures';
|
|
8
7
|
import { LinearGradient } from '../../styling/linear-gradient';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { AccessibilityLiveRegion, AccessibilityRole, AccessibilityState, AccessibilityTrait, AccessibilityEventOptions } from '../../../accessibility/accessibility-types';
|
|
9
|
+
import { CoreTypes } from '../../../core-types';
|
|
10
|
+
import { ShadowCSSValues } from '../../styling/css-shadow';
|
|
11
11
|
import { ViewCommon } from './view-common';
|
|
12
12
|
|
|
13
13
|
export * from './view-common';
|
|
@@ -100,48 +100,34 @@ export interface ShownModallyData extends EventData {
|
|
|
100
100
|
/**
|
|
101
101
|
* This class is the base class for all UI components.
|
|
102
102
|
* A View occupies a rectangular area on the screen and is responsible for drawing and layouting of all UI components within.
|
|
103
|
-
*
|
|
104
|
-
* @nsView View
|
|
105
103
|
*/
|
|
106
104
|
export abstract class View extends ViewCommon {
|
|
107
105
|
/**
|
|
108
106
|
* String value used when hooking to layoutChanged event.
|
|
109
|
-
*
|
|
110
|
-
* @nsEvent layoutChanged
|
|
111
107
|
*/
|
|
112
108
|
public static layoutChangedEvent: string;
|
|
113
109
|
/**
|
|
114
110
|
* String value used when hooking to showingModally event.
|
|
115
|
-
*
|
|
116
|
-
* @nsEvent {ShownModallyData} showingModally
|
|
117
111
|
*/
|
|
118
112
|
public static showingModallyEvent: string;
|
|
119
113
|
|
|
120
114
|
/**
|
|
121
115
|
* String value used when hooking to shownModally event.
|
|
122
|
-
*
|
|
123
|
-
* @nsEvent {ShownModallyData} shownModally
|
|
124
116
|
*/
|
|
125
117
|
public static shownModallyEvent: string;
|
|
126
118
|
|
|
127
119
|
/**
|
|
128
120
|
* String value used when hooking to accessibilityBlur event.
|
|
129
|
-
*
|
|
130
|
-
* @nsEvent accessibilityBlur
|
|
131
121
|
*/
|
|
132
122
|
public static accessibilityBlurEvent: string;
|
|
133
123
|
|
|
134
124
|
/**
|
|
135
125
|
* String value used when hooking to accessibilityFocus event.
|
|
136
|
-
*
|
|
137
|
-
* @nsEvent accessibilityFocus
|
|
138
126
|
*/
|
|
139
127
|
public static accessibilityFocusEvent: string;
|
|
140
128
|
|
|
141
129
|
/**
|
|
142
130
|
* String value used when hooking to accessibilityFocusChanged event.
|
|
143
|
-
*
|
|
144
|
-
* @nsEvent {EventDataValue} accessibilityFocusChanged
|
|
145
131
|
*/
|
|
146
132
|
public static accessibilityFocusChangedEvent: string;
|
|
147
133
|
|
|
@@ -159,127 +145,91 @@ export abstract class View extends ViewCommon {
|
|
|
159
145
|
|
|
160
146
|
/**
|
|
161
147
|
* Gets or sets the binding context of this instance. This object is used as a source for each Binding that does not have a source object specified.
|
|
162
|
-
*
|
|
163
|
-
* @nsProperty
|
|
164
148
|
*/
|
|
165
149
|
bindingContext: any;
|
|
166
150
|
|
|
167
151
|
/**
|
|
168
152
|
* Gets or sets the border color of the view.
|
|
169
|
-
*
|
|
170
|
-
* @nsProperty
|
|
171
153
|
*/
|
|
172
154
|
borderColor: string | Color;
|
|
173
155
|
|
|
174
156
|
/**
|
|
175
157
|
* Gets or sets the top border color of the view.
|
|
176
|
-
*
|
|
177
|
-
* @nsProperty
|
|
178
158
|
*/
|
|
179
159
|
borderTopColor: Color;
|
|
180
160
|
|
|
181
161
|
/**
|
|
182
162
|
* Gets or sets the right border color of the view.
|
|
183
|
-
*
|
|
184
|
-
* @nsProperty
|
|
185
163
|
*/
|
|
186
164
|
borderRightColor: Color;
|
|
187
165
|
|
|
188
166
|
/**
|
|
189
167
|
* Gets or sets the bottom border color of the view.
|
|
190
|
-
*
|
|
191
|
-
* @nsProperty
|
|
192
168
|
*/
|
|
193
169
|
borderBottomColor: Color;
|
|
194
170
|
|
|
195
171
|
/**
|
|
196
172
|
* Gets or sets the left border color of the view.
|
|
197
|
-
*
|
|
198
|
-
* @nsProperty
|
|
199
173
|
*/
|
|
200
174
|
borderLeftColor: Color;
|
|
201
175
|
|
|
202
176
|
/**
|
|
203
177
|
* Gets or sets the border width of the view.
|
|
204
|
-
*
|
|
205
|
-
* @nsProperty
|
|
206
178
|
*/
|
|
207
179
|
borderWidth: string | CoreTypes.LengthType;
|
|
208
180
|
|
|
209
181
|
/**
|
|
210
182
|
* Gets or sets the top border width of the view.
|
|
211
|
-
*
|
|
212
|
-
* @nsProperty
|
|
213
183
|
*/
|
|
214
184
|
borderTopWidth: CoreTypes.LengthType;
|
|
215
185
|
|
|
216
186
|
/**
|
|
217
187
|
* Gets or sets the right border width of the view.
|
|
218
|
-
*
|
|
219
|
-
* @nsProperty
|
|
220
188
|
*/
|
|
221
189
|
borderRightWidth: CoreTypes.LengthType;
|
|
222
190
|
|
|
223
191
|
/**
|
|
224
192
|
* Gets or sets the bottom border width of the view.
|
|
225
|
-
*
|
|
226
|
-
* @nsProperty
|
|
227
193
|
*/
|
|
228
194
|
borderBottomWidth: CoreTypes.LengthType;
|
|
229
195
|
|
|
230
196
|
/**
|
|
231
197
|
* Gets or sets the left border width of the view.
|
|
232
|
-
*
|
|
233
|
-
* @nsProperty
|
|
234
198
|
*/
|
|
235
199
|
borderLeftWidth: CoreTypes.LengthType;
|
|
236
200
|
|
|
237
201
|
/**
|
|
238
202
|
* Gets or sets the border radius of the view.
|
|
239
|
-
*
|
|
240
|
-
* @nsProperty
|
|
241
203
|
*/
|
|
242
204
|
borderRadius: string | CoreTypes.LengthType;
|
|
243
205
|
|
|
244
206
|
/**
|
|
245
207
|
* Gets or sets the top left border radius of the view.
|
|
246
|
-
*
|
|
247
|
-
* @nsProperty
|
|
248
208
|
*/
|
|
249
209
|
borderTopLeftRadius: CoreTypes.LengthType;
|
|
250
210
|
|
|
251
211
|
/**
|
|
252
212
|
* Gets or sets the top right border radius of the view.
|
|
253
|
-
*
|
|
254
|
-
* @nsProperty
|
|
255
213
|
*/
|
|
256
214
|
borderTopRightRadius: CoreTypes.LengthType;
|
|
257
215
|
|
|
258
216
|
/**
|
|
259
217
|
* Gets or sets the bottom right border radius of the view.
|
|
260
|
-
*
|
|
261
|
-
* @nsProperty
|
|
262
218
|
*/
|
|
263
219
|
borderBottomRightRadius: CoreTypes.LengthType;
|
|
264
220
|
|
|
265
221
|
/**
|
|
266
222
|
* Gets or sets the bottom left border radius of the view.
|
|
267
|
-
*
|
|
268
|
-
* @nsProperty
|
|
269
223
|
*/
|
|
270
224
|
borderBottomLeftRadius: CoreTypes.LengthType;
|
|
271
225
|
|
|
272
226
|
/**
|
|
273
227
|
* Gets or sets the color of the view.
|
|
274
|
-
*
|
|
275
|
-
* @nsProperty
|
|
276
228
|
*/
|
|
277
229
|
color: Color;
|
|
278
230
|
|
|
279
231
|
/**
|
|
280
232
|
* Hide the view and its children from the a11y service
|
|
281
|
-
*
|
|
282
|
-
* @nsProperty
|
|
283
233
|
*/
|
|
284
234
|
accessibilityHidden: boolean;
|
|
285
235
|
|
|
@@ -287,90 +237,58 @@ export abstract class View extends ViewCommon {
|
|
|
287
237
|
* The view's unique accessibilityIdentifier.
|
|
288
238
|
*
|
|
289
239
|
* This is used for automated testing.
|
|
290
|
-
*
|
|
291
|
-
* @nsProperty
|
|
292
240
|
*/
|
|
293
241
|
accessibilityIdentifier: string;
|
|
294
242
|
|
|
295
243
|
/**
|
|
296
244
|
* Which role should this view be treated by the a11y service?
|
|
297
|
-
*
|
|
298
|
-
* @nsProperty
|
|
299
245
|
*/
|
|
300
246
|
accessibilityRole: AccessibilityRole;
|
|
301
247
|
|
|
302
248
|
/**
|
|
303
249
|
* Which state should this view be treated as by the a11y service?
|
|
304
|
-
*
|
|
305
|
-
* @nsProperty
|
|
306
|
-
*
|
|
307
250
|
*/
|
|
308
251
|
accessibilityState: AccessibilityState;
|
|
309
252
|
|
|
310
253
|
/**
|
|
311
254
|
* Short description of the element, ideally one word.
|
|
312
|
-
*
|
|
313
|
-
* @nsProperty
|
|
314
255
|
*/
|
|
315
256
|
accessibilityLabel: string;
|
|
316
257
|
|
|
317
258
|
/**
|
|
318
259
|
* Current value of the element in a localized string.
|
|
319
|
-
*
|
|
320
|
-
* @nsProperty
|
|
321
260
|
*/
|
|
322
261
|
accessibilityValue: string;
|
|
323
262
|
|
|
324
263
|
/**
|
|
325
264
|
* A hint describes the elements behavior. Example: 'Tap change playback speed'
|
|
326
|
-
*
|
|
327
|
-
* @nsProperty
|
|
328
265
|
*/
|
|
329
266
|
accessibilityHint: string;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* When components dynamically change, we want TalkBack to alert the end user. This is made possible by the accessibilityLiveRegion property.
|
|
333
|
-
*/
|
|
334
267
|
accessibilityLiveRegion: AccessibilityLiveRegion;
|
|
335
268
|
|
|
336
269
|
/**
|
|
337
270
|
* Sets the language in which to speak the element's label and value.
|
|
338
271
|
* Accepts language ID tags that follows the "BCP 47" specification.
|
|
339
|
-
*
|
|
340
|
-
* @nsProperty
|
|
341
272
|
*/
|
|
342
273
|
accessibilityLanguage: string;
|
|
343
274
|
|
|
344
275
|
/**
|
|
345
276
|
* This view starts a media session. Equivalent to trait = startsMedia
|
|
346
|
-
*
|
|
347
|
-
* @nsProperty
|
|
348
277
|
*/
|
|
349
278
|
accessibilityMediaSession: boolean;
|
|
350
279
|
|
|
351
|
-
/**
|
|
352
|
-
* @nsProperty
|
|
353
|
-
*/
|
|
354
|
-
accessibilityIgnoresInvertColors: boolean;
|
|
355
|
-
|
|
356
280
|
/**
|
|
357
281
|
* Defines whether accessibility font scale should affect font size.
|
|
358
|
-
*
|
|
359
|
-
* @nsProperty
|
|
360
282
|
*/
|
|
361
283
|
iosAccessibilityAdjustsFontSize: boolean;
|
|
362
284
|
|
|
363
285
|
/**
|
|
364
286
|
* Gets or sets the minimum accessibility font scale.
|
|
365
|
-
*
|
|
366
|
-
* @nsProperty
|
|
367
287
|
*/
|
|
368
288
|
iosAccessibilityMinFontScale: number;
|
|
369
289
|
|
|
370
290
|
/**
|
|
371
291
|
* Gets or sets the maximum accessibility font scale.
|
|
372
|
-
*
|
|
373
|
-
* @nsProperty
|
|
374
292
|
*/
|
|
375
293
|
iosAccessibilityMaxFontScale: number;
|
|
376
294
|
|
|
@@ -379,199 +297,141 @@ export abstract class View extends ViewCommon {
|
|
|
379
297
|
*/
|
|
380
298
|
_androidContentDescriptionUpdated?: boolean;
|
|
381
299
|
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @nsProperty
|
|
385
|
-
*/
|
|
386
300
|
automationText: string;
|
|
387
301
|
|
|
388
302
|
/**
|
|
389
303
|
* Gets or sets the elevation of the android view.
|
|
390
|
-
*
|
|
391
|
-
* @nsProperty
|
|
392
304
|
*/
|
|
393
305
|
androidElevation: number;
|
|
394
306
|
|
|
395
307
|
/**
|
|
396
308
|
* Gets or sets the dynamic elevation offset of the android view.
|
|
397
|
-
*
|
|
398
|
-
* @nsProperty
|
|
399
309
|
*/
|
|
400
310
|
androidDynamicElevationOffset: number;
|
|
401
311
|
|
|
402
312
|
/**
|
|
403
313
|
* Gets or sets the background style property.
|
|
404
|
-
*
|
|
405
|
-
* @nsProperty
|
|
406
314
|
*/
|
|
407
315
|
background: string;
|
|
408
316
|
|
|
409
317
|
/**
|
|
410
318
|
* Gets or sets the background color of the view.
|
|
411
|
-
*
|
|
412
|
-
* @nsProperty
|
|
413
319
|
*/
|
|
414
320
|
backgroundColor: string | Color;
|
|
415
321
|
|
|
416
322
|
/**
|
|
417
323
|
* Gets or sets the background image of the view.
|
|
418
|
-
*
|
|
419
|
-
* @nsProperty
|
|
420
324
|
*/
|
|
421
325
|
backgroundImage: string | LinearGradient;
|
|
422
326
|
|
|
423
327
|
/**
|
|
424
328
|
* Gets or sets the box shadow of the view.
|
|
425
|
-
*
|
|
426
|
-
* @nsProperty
|
|
427
329
|
*/
|
|
428
330
|
boxShadow: string | ShadowCSSValues;
|
|
429
331
|
|
|
430
332
|
/**
|
|
431
333
|
* Gets or sets the minimum width the view may grow to.
|
|
432
|
-
*
|
|
433
|
-
* @nsProperty
|
|
434
334
|
*/
|
|
435
335
|
minWidth: CoreTypes.LengthType;
|
|
436
336
|
|
|
437
337
|
/**
|
|
438
338
|
* Gets or sets the minimum height the view may grow to.
|
|
439
|
-
*
|
|
440
|
-
* @nsProperty
|
|
441
339
|
*/
|
|
442
340
|
minHeight: CoreTypes.LengthType;
|
|
443
341
|
|
|
444
342
|
/**
|
|
445
343
|
* Gets or sets the desired width of the view.
|
|
446
|
-
*
|
|
447
|
-
* @nsProperty
|
|
448
344
|
*/
|
|
449
345
|
width: CoreTypes.PercentLengthType;
|
|
450
346
|
|
|
451
347
|
/**
|
|
452
348
|
* Gets or sets the desired height of the view.
|
|
453
|
-
*
|
|
454
|
-
* @nsProperty
|
|
455
349
|
*/
|
|
456
350
|
height: CoreTypes.PercentLengthType;
|
|
457
351
|
|
|
458
352
|
/**
|
|
459
353
|
* Gets or sets margin style property.
|
|
460
|
-
*
|
|
461
|
-
* @nsProperty
|
|
462
354
|
*/
|
|
463
355
|
margin: string | CoreTypes.PercentLengthType;
|
|
464
356
|
|
|
465
357
|
/**
|
|
466
358
|
* Specifies extra space on the left side of this view.
|
|
467
|
-
*
|
|
468
|
-
* @nsProperty
|
|
469
359
|
*/
|
|
470
360
|
marginLeft: CoreTypes.PercentLengthType;
|
|
471
361
|
|
|
472
362
|
/**
|
|
473
363
|
* Specifies extra space on the top side of this view.
|
|
474
|
-
*
|
|
475
|
-
* @nsProperty
|
|
476
364
|
*/
|
|
477
365
|
marginTop: CoreTypes.PercentLengthType;
|
|
478
366
|
|
|
479
367
|
/**
|
|
480
368
|
* Specifies extra space on the right side of this view.
|
|
481
|
-
*
|
|
482
|
-
* @nsProperty
|
|
483
369
|
*/
|
|
484
370
|
marginRight: CoreTypes.PercentLengthType;
|
|
485
371
|
|
|
486
372
|
/**
|
|
487
373
|
* Specifies extra space on the bottom side of this view.
|
|
488
|
-
*
|
|
489
|
-
* @nsProperty
|
|
490
374
|
*/
|
|
491
375
|
marginBottom: CoreTypes.PercentLengthType;
|
|
492
376
|
|
|
493
377
|
/**
|
|
494
378
|
* Gets or sets the alignment of this view within its parent along the Horizontal axis.
|
|
495
|
-
*
|
|
496
|
-
* @nsProperty
|
|
497
379
|
*/
|
|
498
380
|
horizontalAlignment: CoreTypes.HorizontalAlignmentType;
|
|
499
381
|
|
|
500
382
|
/**
|
|
501
383
|
* Gets or sets the alignment of this view within its parent along the Vertical axis.
|
|
502
|
-
*
|
|
503
|
-
* @nsProperty
|
|
504
384
|
*/
|
|
505
385
|
verticalAlignment: CoreTypes.VerticalAlignmentType;
|
|
506
386
|
|
|
507
387
|
/**
|
|
508
388
|
* Gets or sets the visibility of the view.
|
|
509
|
-
*
|
|
510
|
-
* @nsProperty
|
|
511
389
|
*/
|
|
512
390
|
visibility: CoreTypes.VisibilityType;
|
|
513
391
|
|
|
514
392
|
/**
|
|
515
393
|
* Gets or sets the opacity style property.
|
|
516
|
-
*
|
|
517
|
-
* @nsProperty
|
|
518
394
|
*/
|
|
519
395
|
opacity: number;
|
|
520
396
|
|
|
521
397
|
/**
|
|
522
398
|
* Gets or sets the rotate affine transform of the view along the Z axis.
|
|
523
|
-
*
|
|
524
|
-
* @nsProperty
|
|
525
399
|
*/
|
|
526
400
|
rotate: number;
|
|
527
401
|
|
|
528
402
|
/**
|
|
529
403
|
* Gets or sets the rotate affine transform of the view along the X axis.
|
|
530
|
-
*
|
|
531
|
-
* @nsProperty
|
|
532
404
|
*/
|
|
533
405
|
rotateX: number;
|
|
534
406
|
|
|
535
407
|
/**
|
|
536
408
|
* Gets or sets the rotate affine transform of the view along the Y axis.
|
|
537
|
-
*
|
|
538
|
-
* @nsProperty
|
|
539
409
|
*/
|
|
540
410
|
rotateY: number;
|
|
541
411
|
|
|
542
412
|
/**
|
|
543
413
|
* Gets or sets the distance of the camera form the view perspective.
|
|
544
414
|
* Usually needed when rotating the view over the X or Y axis.
|
|
545
|
-
*
|
|
546
|
-
* @nsProperty
|
|
547
415
|
*/
|
|
548
416
|
perspective: number;
|
|
549
417
|
|
|
550
418
|
/**
|
|
551
419
|
* Gets or sets the translateX affine transform of the view in device independent pixels.
|
|
552
|
-
*
|
|
553
|
-
* @nsProperty
|
|
554
420
|
*/
|
|
555
421
|
translateX: CoreTypes.dip;
|
|
556
422
|
|
|
557
423
|
/**
|
|
558
424
|
* Gets or sets the translateY affine transform of the view in device independent pixels.
|
|
559
|
-
*
|
|
560
|
-
* @nsProperty
|
|
561
425
|
*/
|
|
562
426
|
translateY: CoreTypes.dip;
|
|
563
427
|
|
|
564
428
|
/**
|
|
565
429
|
* Gets or sets the scaleX affine transform of the view.
|
|
566
|
-
*
|
|
567
|
-
* @nsProperty
|
|
568
430
|
*/
|
|
569
431
|
scaleX: number;
|
|
570
432
|
|
|
571
433
|
/**
|
|
572
434
|
* Gets or sets the scaleY affine transform of the view.
|
|
573
|
-
*
|
|
574
|
-
* @nsProperty
|
|
575
435
|
*/
|
|
576
436
|
scaleY: number;
|
|
577
437
|
|
|
@@ -579,95 +439,39 @@ export abstract class View extends ViewCommon {
|
|
|
579
439
|
|
|
580
440
|
/**
|
|
581
441
|
* Gets or sets the X component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
|
|
582
|
-
*
|
|
583
|
-
* @nsProperty
|
|
584
442
|
*/
|
|
585
443
|
originX: number;
|
|
586
444
|
|
|
587
445
|
/**
|
|
588
446
|
* Gets or sets the Y component of the origin point around which the view will be transformed. The default value is 0.5 representing the center of the view.
|
|
589
|
-
*
|
|
590
|
-
* @nsProperty
|
|
591
447
|
*/
|
|
592
448
|
originY: number;
|
|
593
449
|
|
|
594
|
-
/**
|
|
595
|
-
* The flex-flow Shorthand property specifies the direction of a flex container, as well as its wrapping behavior.
|
|
596
|
-
* @nsProperty
|
|
597
|
-
*/
|
|
598
|
-
flexFlow: FlexFlow;
|
|
599
|
-
/**
|
|
600
|
-
* The flex shorthand property sets how a flex item will grow or shrink to fit the space available in its flex container.
|
|
601
|
-
* @nsProperty
|
|
602
|
-
*/
|
|
603
|
-
flex: Flex;
|
|
604
|
-
|
|
605
450
|
/**
|
|
606
451
|
* Gets or sets a value indicating whether the the view is enabled. This affects the appearance of the view.
|
|
607
|
-
*
|
|
608
|
-
* @nsProperty
|
|
609
452
|
*/
|
|
610
453
|
isEnabled: boolean;
|
|
611
454
|
|
|
612
455
|
/**
|
|
613
456
|
* Gets or sets a value indicating whether the user can interact with the view. This does not affect the appearance of the view.
|
|
614
|
-
*
|
|
615
|
-
* @nsProperty
|
|
616
457
|
*/
|
|
617
458
|
isUserInteractionEnabled: boolean;
|
|
618
459
|
|
|
619
460
|
/**
|
|
620
461
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: false
|
|
621
|
-
*
|
|
622
|
-
* @nsProperty
|
|
623
462
|
*/
|
|
624
463
|
iosOverflowSafeArea: boolean;
|
|
625
464
|
|
|
626
465
|
/**
|
|
627
466
|
* Enables or disables the iosOverflowSafeArea property for all children. This property is iOS specific. Default value: true
|
|
628
|
-
*
|
|
629
|
-
* @nsProperty
|
|
630
467
|
*/
|
|
631
468
|
iosOverflowSafeAreaEnabled: boolean;
|
|
632
469
|
|
|
633
470
|
/**
|
|
634
471
|
* Gets or sets a value indicating whether the the view should totally ignore safe areas computation. This property is iOS specific. Default value: false
|
|
635
|
-
*
|
|
636
|
-
* @nsProperty
|
|
637
472
|
*/
|
|
638
473
|
iosIgnoreSafeArea: boolean;
|
|
639
474
|
|
|
640
|
-
/**
|
|
641
|
-
* visionOS only
|
|
642
|
-
*
|
|
643
|
-
* @nsProperty
|
|
644
|
-
*/
|
|
645
|
-
visionIgnoreHoverStyle: boolean;
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* visionOS only
|
|
649
|
-
*
|
|
650
|
-
* @nsProperty
|
|
651
|
-
*/
|
|
652
|
-
visionHoverStyle: string | VisionHoverOptions;
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* @nsProperty
|
|
656
|
-
*/
|
|
657
|
-
public testID: string;
|
|
658
|
-
/**
|
|
659
|
-
* @nsProperty
|
|
660
|
-
*/
|
|
661
|
-
public touchAnimation: boolean | TouchAnimationOptions;
|
|
662
|
-
/**
|
|
663
|
-
* @nsProperty
|
|
664
|
-
*/
|
|
665
|
-
public ignoreTouchAnimation: boolean;
|
|
666
|
-
/**
|
|
667
|
-
* @nsProperty
|
|
668
|
-
*/
|
|
669
|
-
public touchDelay: number;
|
|
670
|
-
|
|
671
475
|
/**
|
|
672
476
|
* Gets is layout is valid. This is a read-only property.
|
|
673
477
|
*/
|
|
@@ -1104,8 +908,6 @@ export abstract class View extends ViewCommon {
|
|
|
1104
908
|
export class ContainerView extends View {
|
|
1105
909
|
/**
|
|
1106
910
|
* Instruct container view to expand beyond the safe area. This property is iOS specific. Default value: true
|
|
1107
|
-
*
|
|
1108
|
-
* @nsProperty
|
|
1109
911
|
*/
|
|
1110
912
|
public iosOverflowSafeArea: boolean;
|
|
1111
913
|
}
|
|
@@ -1188,9 +990,3 @@ export const isEnabledProperty: Property<View, boolean>;
|
|
|
1188
990
|
export const isUserInteractionEnabledProperty: Property<View, boolean>;
|
|
1189
991
|
export const iosOverflowSafeAreaProperty: Property<View, boolean>;
|
|
1190
992
|
export const iosOverflowSafeAreaEnabledProperty: InheritedProperty<View, boolean>;
|
|
1191
|
-
export const visionHoverStyleProperty: Property<View, string | VisionHoverOptions>;
|
|
1192
|
-
export const visionIgnoreHoverStyleProperty: Property<View, boolean>;
|
|
1193
|
-
export const touchAnimationProperty: Property<View, boolean | TouchAnimationOptions>;
|
|
1194
|
-
export const ignoreTouchAnimationProperty: Property<View, boolean>;
|
|
1195
|
-
export const touchDelayProperty: Property<View, number>;
|
|
1196
|
-
export const testIDProperty: Property<View, string>;
|
|
@@ -9,7 +9,6 @@ import { LinearGradient } from '../../styling/linear-gradient';
|
|
|
9
9
|
import * as am from '../../animation';
|
|
10
10
|
import { AccessibilityEventOptions, AccessibilityLiveRegion, AccessibilityRole, AccessibilityState } from '../../../accessibility/accessibility-types';
|
|
11
11
|
import { ShadowCSSValues } from '../../styling/css-shadow';
|
|
12
|
-
import { Flex, FlexFlow } from '../../layouts/flexbox-layout';
|
|
13
12
|
export * from './view-helper';
|
|
14
13
|
export declare function CSSType(type: string): ClassDecorator;
|
|
15
14
|
export declare function viewMatchesModuleContext(view: ViewDefinition, context: ModuleContext, types: ModuleType[]): boolean;
|
|
@@ -27,7 +26,6 @@ export declare abstract class ViewCommon extends ViewBase implements ViewDefinit
|
|
|
27
26
|
accessibilityLabel: string;
|
|
28
27
|
accessibilityValue: string;
|
|
29
28
|
accessibilityHint: string;
|
|
30
|
-
accessibilityIgnoresInvertColors: boolean;
|
|
31
29
|
testID: string;
|
|
32
30
|
touchAnimation: boolean | TouchAnimationOptions;
|
|
33
31
|
ignoreTouchAnimation: boolean;
|
|
@@ -87,10 +85,6 @@ export declare abstract class ViewCommon extends ViewBase implements ViewDefinit
|
|
|
87
85
|
protected _raiseShowingModallyEvent(): void;
|
|
88
86
|
private _isEvent;
|
|
89
87
|
private _disconnectGestureObservers;
|
|
90
|
-
get flexFlow(): FlexFlow;
|
|
91
|
-
set flexFlow(value: FlexFlow);
|
|
92
|
-
get flex(): Flex;
|
|
93
|
-
set flex(value: Flex);
|
|
94
88
|
get borderColor(): string | Color;
|
|
95
89
|
set borderColor(value: string | Color);
|
|
96
90
|
get borderTopColor(): Color;
|
|
@@ -404,18 +404,6 @@ export class ViewCommon extends ViewBase {
|
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
// START Style property shortcuts
|
|
407
|
-
get flexFlow() {
|
|
408
|
-
return this.style.flexFlow;
|
|
409
|
-
}
|
|
410
|
-
set flexFlow(value) {
|
|
411
|
-
this.style.flexFlow = value;
|
|
412
|
-
}
|
|
413
|
-
get flex() {
|
|
414
|
-
return this.style.flex;
|
|
415
|
-
}
|
|
416
|
-
set flex(value) {
|
|
417
|
-
this.style.flex = value;
|
|
418
|
-
}
|
|
419
407
|
get borderColor() {
|
|
420
408
|
return this.style.borderColor;
|
|
421
409
|
}
|