@lynx-js/type-config 0.0.0 → 3.6.1-alpha.0
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/CHANGELOG.md +7 -0
- package/README.md +21 -0
- package/config-keys.js +161 -0
- package/index.d.ts +26 -0
- package/index.js +7 -1
- package/package.json +29 -4
- package/types/compiler-options.d.ts +212 -0
- package/types/config.d.ts +1313 -0
- package/types/index.d.ts +6 -0
- package/LICENSE +0 -202
|
@@ -0,0 +1,1313 @@
|
|
|
1
|
+
// Copyright 2025 The Lynx Authors. All rights reserved.
|
|
2
|
+
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
|
+
// LICENSE file in the root directory of this source tree.
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The Lynx config to set.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export interface Config {
|
|
12
|
+
/**
|
|
13
|
+
* When set to true, the containing block of absolute/fixed elements is the content area; otherwise, it is the padding area
|
|
14
|
+
*
|
|
15
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
16
|
+
*
|
|
17
|
+
* Since: LynxSDK 1.4
|
|
18
|
+
*
|
|
19
|
+
* @defaultValue false
|
|
20
|
+
*/
|
|
21
|
+
absoluteInContentBound?: boolean
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Enable Android Lynx Image URL asynchronous redirect
|
|
25
|
+
*
|
|
26
|
+
* Supported platform: Android
|
|
27
|
+
*
|
|
28
|
+
* Since: LynxSDK 2.6
|
|
29
|
+
*
|
|
30
|
+
* @defaultValue undefined
|
|
31
|
+
*/
|
|
32
|
+
asyncRedirect?: boolean
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* if this flag is true, onShow/onHide will be automatically triggered by attachToView/detachFromWindow calls
|
|
36
|
+
*
|
|
37
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
38
|
+
*
|
|
39
|
+
* Since: LynxSDK 2.1
|
|
40
|
+
*
|
|
41
|
+
* @defaultValue true
|
|
42
|
+
*/
|
|
43
|
+
autoExpose?: boolean
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* When set to true, for compatibility, some layout behaviors are consistent with the previous incorrect behaviors.
|
|
47
|
+
*
|
|
48
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
49
|
+
*
|
|
50
|
+
* Since: LynxSDK 1.4
|
|
51
|
+
*
|
|
52
|
+
* @defaultValue false
|
|
53
|
+
*/
|
|
54
|
+
CSSAlignWithLegacyW3C?: boolean
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Custom Inheritable CSS Properties
|
|
58
|
+
*
|
|
59
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
60
|
+
*
|
|
61
|
+
* Since: LynxSDK 1.6
|
|
62
|
+
*
|
|
63
|
+
* @defaultValue undefined
|
|
64
|
+
*/
|
|
65
|
+
customCSSInheritanceList?: string[]
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* ReactLynx cannot opt top_level_variables used in lepus. So we cannot forbid updateData when variable not in top_level_variables. User can use this config to close the check.
|
|
69
|
+
*
|
|
70
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
71
|
+
*
|
|
72
|
+
* Since: LynxSDK 2.1
|
|
73
|
+
*
|
|
74
|
+
* @defaultValue true
|
|
75
|
+
*/
|
|
76
|
+
dataStrictMode?: boolean
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Prevent the long press event from being triggered during inertial scrolling.
|
|
80
|
+
*
|
|
81
|
+
* Supported platform: iOS
|
|
82
|
+
*
|
|
83
|
+
* Since: LynxSDK 2.5
|
|
84
|
+
*
|
|
85
|
+
* @defaultValue false
|
|
86
|
+
*/
|
|
87
|
+
disableLongpressAfterScroll?: boolean
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Disable tracing gc mode in quick context.
|
|
91
|
+
*
|
|
92
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
93
|
+
*
|
|
94
|
+
* Since: LynxSDK 3.2
|
|
95
|
+
*
|
|
96
|
+
* @defaultValue false
|
|
97
|
+
*/
|
|
98
|
+
disableQuickTracingGC?: boolean
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Enable Android A11y
|
|
102
|
+
*
|
|
103
|
+
* Supported platform: Android
|
|
104
|
+
*
|
|
105
|
+
* Since: LynxSDK 2.12
|
|
106
|
+
*
|
|
107
|
+
* @defaultValue false
|
|
108
|
+
*/
|
|
109
|
+
enableA11y?: boolean
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Indicates whether all ui enable a11y
|
|
113
|
+
*
|
|
114
|
+
* Supported platform: Android
|
|
115
|
+
*
|
|
116
|
+
* Since: LynxSDK 2.0
|
|
117
|
+
*
|
|
118
|
+
* @defaultValue true
|
|
119
|
+
*/
|
|
120
|
+
enableAccessibilityElement?: boolean
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Whether to enable asynchronous initialization of videoEngine
|
|
124
|
+
*
|
|
125
|
+
* Supported platform: Android
|
|
126
|
+
*
|
|
127
|
+
* Since: LynxSDK 2.6
|
|
128
|
+
*
|
|
129
|
+
* @defaultValue false
|
|
130
|
+
*/
|
|
131
|
+
enableAsyncInitVideoEngine?: boolean
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* If true, supports initiating image requests in asynchronous threads.
|
|
135
|
+
*
|
|
136
|
+
* Supported platform: Android
|
|
137
|
+
*
|
|
138
|
+
* Since: LynxSDK 2.12
|
|
139
|
+
*
|
|
140
|
+
* @defaultValue false
|
|
141
|
+
*/
|
|
142
|
+
enableAsyncRequestImage?: boolean
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* FE Framework use this config to notify Engine that resolve subtree binding will be triggered when render DOM (Not exposed to normal user)
|
|
146
|
+
*
|
|
147
|
+
* Supported platform: Android, iOS
|
|
148
|
+
*
|
|
149
|
+
* Since: LynxSDK 3.4
|
|
150
|
+
*
|
|
151
|
+
* @defaultValue undefined
|
|
152
|
+
*/
|
|
153
|
+
enableAsyncResolveSubtree?: boolean
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Enable exposure detection optimization so that exposure detection is not performed when the page is static.
|
|
157
|
+
*
|
|
158
|
+
* Supported platform: iOS
|
|
159
|
+
*
|
|
160
|
+
* Since: LynxSDK 2.10
|
|
161
|
+
*
|
|
162
|
+
* @defaultValue false
|
|
163
|
+
*/
|
|
164
|
+
enableCheckExposureOptimize?: boolean
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Determine whether redirection is needed for local image resources.
|
|
168
|
+
*
|
|
169
|
+
* Supported platform: Android
|
|
170
|
+
*
|
|
171
|
+
* Since: LynxSDK 2.8
|
|
172
|
+
*
|
|
173
|
+
* @defaultValue true
|
|
174
|
+
*/
|
|
175
|
+
enableCheckLocalImage?: boolean
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* If this flag is true, circular data check will enable when convert js value to other vale.
|
|
179
|
+
*
|
|
180
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
181
|
+
*
|
|
182
|
+
* Since: LynxSDK 2.10
|
|
183
|
+
*
|
|
184
|
+
* @defaultValue true
|
|
185
|
+
*/
|
|
186
|
+
enableCircularDataCheck?: boolean
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Enable dynamic components to be decoded in child threads before they are delivered into tasm in async-loading.
|
|
190
|
+
*
|
|
191
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
192
|
+
*
|
|
193
|
+
* Since: LynxSDK 2.14
|
|
194
|
+
*
|
|
195
|
+
* @defaultValue undefined
|
|
196
|
+
*/
|
|
197
|
+
enableComponentAsyncDecode?: boolean
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Support component can be passed null props, null props only supported in LepusNG now. Open this switch to support lepus use null prop.
|
|
201
|
+
*
|
|
202
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
203
|
+
*
|
|
204
|
+
* Since: LynxSDK 2.9
|
|
205
|
+
*
|
|
206
|
+
* @defaultValue false
|
|
207
|
+
*/
|
|
208
|
+
enableComponentNullProp?: boolean
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Create Android platform UIs in lynx built-in thread-pool to optimize UI Operation Execution
|
|
212
|
+
*
|
|
213
|
+
* Supported platform: Android
|
|
214
|
+
*
|
|
215
|
+
* Since: LynxSDK 2.0
|
|
216
|
+
*
|
|
217
|
+
* @defaultValue true
|
|
218
|
+
*/
|
|
219
|
+
enableCreateViewAsync?: boolean
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Enable CSS inheritance
|
|
223
|
+
*
|
|
224
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
225
|
+
*
|
|
226
|
+
* Since: LynxSDK 1.6
|
|
227
|
+
*
|
|
228
|
+
* @defaultValue false
|
|
229
|
+
*/
|
|
230
|
+
enableCSSInheritance?: boolean
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Enable CSS inline variables.
|
|
234
|
+
*
|
|
235
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
236
|
+
*
|
|
237
|
+
* Since: LynxSDK 3.6
|
|
238
|
+
*
|
|
239
|
+
* @defaultValue false
|
|
240
|
+
*/
|
|
241
|
+
enableCSSInlineVariables?: boolean
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Under scoped CSS, the imported CSS declarations by import rules are lazily decoded at the first time the scope takes effect.
|
|
245
|
+
*
|
|
246
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
247
|
+
*
|
|
248
|
+
* Since: LynxSDK 2.18
|
|
249
|
+
*
|
|
250
|
+
* @defaultValue undefined
|
|
251
|
+
*/
|
|
252
|
+
enableCSSLazyImport?: boolean
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* CSS Length should be <number> follows a unit. Under strict mode, invalid <length> values are dropped.
|
|
256
|
+
*
|
|
257
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
258
|
+
*
|
|
259
|
+
* Since: LynxSDK 3.2
|
|
260
|
+
*
|
|
261
|
+
* @defaultValue false
|
|
262
|
+
*/
|
|
263
|
+
enableCSSStrictMode?: boolean
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Enables the disexposure event to fire when LynxView is in the hidden state.
|
|
267
|
+
*
|
|
268
|
+
* Supported platform: Android
|
|
269
|
+
*
|
|
270
|
+
* Since: LynxSDK 2.10
|
|
271
|
+
*
|
|
272
|
+
* @defaultValue true
|
|
273
|
+
*/
|
|
274
|
+
enableDisexposureWhenLynxHidden?: boolean
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Enable the Lynx touch event to be triggered normally after the last finger is lifted in a multi-finger scenario.
|
|
278
|
+
*
|
|
279
|
+
* Supported platform: iOS
|
|
280
|
+
*
|
|
281
|
+
* Since: LynxSDK 2.9
|
|
282
|
+
*
|
|
283
|
+
* @defaultValue false
|
|
284
|
+
*/
|
|
285
|
+
enableEndGestureAtLastFingerUp?: boolean
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Enable new event processing logic to support dynamic registration of event listeners, interception of events, etc.
|
|
289
|
+
*
|
|
290
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
291
|
+
*
|
|
292
|
+
* Since: LynxSDK 3.5
|
|
293
|
+
*
|
|
294
|
+
* @defaultValue false
|
|
295
|
+
*/
|
|
296
|
+
enableEventHandleRefactor?: boolean
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Enable the client-slide touch event penetrate Lynx when touching the root node area of the Lynx page.
|
|
300
|
+
*
|
|
301
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
302
|
+
*
|
|
303
|
+
* Since: LynxSDK 1.4
|
|
304
|
+
*
|
|
305
|
+
* @defaultValue false
|
|
306
|
+
*/
|
|
307
|
+
enableEventThrough?: boolean
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Enable exposure-ui-margin-* properties to take effect.
|
|
311
|
+
*
|
|
312
|
+
* Supported platform: Android, iOS
|
|
313
|
+
*
|
|
314
|
+
* Since: LynxSDK 2.6
|
|
315
|
+
*
|
|
316
|
+
* @defaultValue false
|
|
317
|
+
*/
|
|
318
|
+
enableExposureUIMargin?: boolean
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Enable exposure check when LynxView is layoutRequest
|
|
322
|
+
*
|
|
323
|
+
* Supported platform: Android
|
|
324
|
+
*
|
|
325
|
+
* Since: LynxSDK 2.10
|
|
326
|
+
*
|
|
327
|
+
* @defaultValue false
|
|
328
|
+
*/
|
|
329
|
+
enableExposureWhenLayout?: boolean
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Enables exposure and disexposure events to be triggered when reloading the Lynx page.
|
|
333
|
+
*
|
|
334
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
335
|
+
*
|
|
336
|
+
* Since: LynxSDK 3.5
|
|
337
|
+
*
|
|
338
|
+
* @defaultValue false
|
|
339
|
+
*/
|
|
340
|
+
enableExposureWhenReload?: boolean
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* A better and stable position fixed handling.
|
|
344
|
+
*
|
|
345
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
346
|
+
*
|
|
347
|
+
* Since: LynxSDK 2.10
|
|
348
|
+
*
|
|
349
|
+
* @defaultValue false
|
|
350
|
+
*/
|
|
351
|
+
enableFixedNew?: boolean
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Enable harmony new overlay based overlayManager to handle events pass through.
|
|
355
|
+
*
|
|
356
|
+
* Supported platform: Harmony
|
|
357
|
+
*
|
|
358
|
+
* Since: LynxSDK 3.6
|
|
359
|
+
*
|
|
360
|
+
* @defaultValue false
|
|
361
|
+
*/
|
|
362
|
+
enableHarmonyNewOverlay?: boolean
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Enable Harmony to detect exposure with visible area change event.
|
|
366
|
+
*
|
|
367
|
+
* Supported platform: HarmonyOS
|
|
368
|
+
*
|
|
369
|
+
* Since: LynxSDK 3.4
|
|
370
|
+
*
|
|
371
|
+
* @defaultValue false
|
|
372
|
+
*/
|
|
373
|
+
enableHarmonyVisibleAreaChangeForExposure?: boolean
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Enable Bind PRIMJS-ICU
|
|
377
|
+
*
|
|
378
|
+
* Supported platform: Android, iOS
|
|
379
|
+
*
|
|
380
|
+
* Since: LynxSDK 2.16
|
|
381
|
+
*
|
|
382
|
+
* @defaultValue false
|
|
383
|
+
*/
|
|
384
|
+
enableICU?: boolean
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* If true, downsampling will be enabled for all images on this LynxView
|
|
388
|
+
*
|
|
389
|
+
* Supported platform: iOS
|
|
390
|
+
*
|
|
391
|
+
* Since: LynxSDK 2.0
|
|
392
|
+
*
|
|
393
|
+
* @defaultValue false
|
|
394
|
+
*/
|
|
395
|
+
enableImageDownsampling?: boolean
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Enable js binding api throw exception
|
|
399
|
+
*
|
|
400
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
401
|
+
*
|
|
402
|
+
* Since: LynxSDK 2.14
|
|
403
|
+
*
|
|
404
|
+
* @defaultValue false
|
|
405
|
+
*/
|
|
406
|
+
enableJsBindingApiThrowException?: boolean
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Enable data processor on JS thread
|
|
410
|
+
*
|
|
411
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
412
|
+
*
|
|
413
|
+
* Since: LynxSDK 2.12
|
|
414
|
+
*
|
|
415
|
+
* @defaultValue false
|
|
416
|
+
*/
|
|
417
|
+
enableJSDataProcessor?: boolean
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Does diffResult have moveAction?
|
|
421
|
+
*
|
|
422
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
423
|
+
*
|
|
424
|
+
* Since: LynxSDK 2.2
|
|
425
|
+
*
|
|
426
|
+
* @defaultValue false
|
|
427
|
+
*/
|
|
428
|
+
enableListMoveOperation?: boolean
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Indicates whether to use new architecture for the platform list
|
|
432
|
+
*
|
|
433
|
+
* Supported platform: Android, iOS
|
|
434
|
+
*
|
|
435
|
+
* Since: LynxSDK 2.4.4
|
|
436
|
+
*
|
|
437
|
+
* @defaultValue false
|
|
438
|
+
*/
|
|
439
|
+
enableListNewArchitecture?: boolean
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Indicates whether to use list plug
|
|
443
|
+
*
|
|
444
|
+
* Supported platform: Android, iOS
|
|
445
|
+
*
|
|
446
|
+
* Since: LynxSDK 2.5
|
|
447
|
+
*
|
|
448
|
+
* @defaultValue false
|
|
449
|
+
*/
|
|
450
|
+
enableListPlug?: boolean
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Force report lynx scroll fluency event. When setting pageConfig.enableLynxScrollFluency to a double value in the range [0, 1], we will monitor the fluency metrics for this LynxUI based on this probability. The probability indicates the likelihood of enabling fluency monitoring, and the metrics will be reported unconditionally through the applogService.
|
|
454
|
+
*
|
|
455
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
456
|
+
*
|
|
457
|
+
* Since: LynxSDK 2.15
|
|
458
|
+
*
|
|
459
|
+
* @defaultValue undefined
|
|
460
|
+
*/
|
|
461
|
+
enableLynxScrollFluency?: boolean | number
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* This configuration item enableMicrotaskPromisePolyfill is used to determine whether to enable the micro - task Promise polyfill. Its value type is TernaryBool, and the default value is TernaryBool::UNDEFINE_VALUE.
|
|
465
|
+
*
|
|
466
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
467
|
+
*
|
|
468
|
+
* Since: LynxSDK 3.1
|
|
469
|
+
*
|
|
470
|
+
* @defaultValue undefined
|
|
471
|
+
*/
|
|
472
|
+
enableMicrotaskPromisePolyfill?: boolean
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Enable support multi-finger events so that event parameters can contain information about multiple fingers.
|
|
476
|
+
*
|
|
477
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
478
|
+
*
|
|
479
|
+
* Since: LynxSDK 2.14
|
|
480
|
+
*
|
|
481
|
+
* @defaultValue false
|
|
482
|
+
*/
|
|
483
|
+
enableMultiTouch?: boolean
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Enable the parameters of multi-finger events compatible with single-finger events
|
|
487
|
+
*
|
|
488
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
489
|
+
*
|
|
490
|
+
* Since: LynxSDK 3.2
|
|
491
|
+
*
|
|
492
|
+
* @defaultValue false
|
|
493
|
+
*/
|
|
494
|
+
enableMultiTouchParamsCompatible?: boolean
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Indicates whether use c++ list.
|
|
498
|
+
*
|
|
499
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
500
|
+
*
|
|
501
|
+
* Since: LynxSDK 3.2
|
|
502
|
+
*
|
|
503
|
+
* @defaultValue undefined
|
|
504
|
+
*/
|
|
505
|
+
enableNativeList?: boolean
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* If this flag is false, will use platform animation ability.
|
|
509
|
+
*
|
|
510
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
511
|
+
*
|
|
512
|
+
* Since: LynxSDK 2.18
|
|
513
|
+
*
|
|
514
|
+
* @defaultValue undefined
|
|
515
|
+
*/
|
|
516
|
+
enableNewAnimator?: boolean
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Whether enable new clip mode.
|
|
520
|
+
*
|
|
521
|
+
* Supported platform: Android, iOS
|
|
522
|
+
*
|
|
523
|
+
* Since: LynxSDK 2.10
|
|
524
|
+
*
|
|
525
|
+
* @defaultValue true
|
|
526
|
+
*/
|
|
527
|
+
enableNewClipMode?: boolean
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* if want to use gesture handler api, you need to set true
|
|
531
|
+
*
|
|
532
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
533
|
+
*
|
|
534
|
+
* Since: LynxSDK 2.16
|
|
535
|
+
*
|
|
536
|
+
* @defaultValue false
|
|
537
|
+
*/
|
|
538
|
+
enableNewGesture?: boolean
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Enable load image from image service
|
|
542
|
+
*
|
|
543
|
+
* Supported platform: Android, iOS
|
|
544
|
+
*
|
|
545
|
+
* Since: LynxSDK 2.8
|
|
546
|
+
*
|
|
547
|
+
* @defaultValue true
|
|
548
|
+
*/
|
|
549
|
+
enableNewImage?: boolean
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Enable the new IntersectionObserver detection logic so that observe can be triggered normally without binding to scroll events.
|
|
553
|
+
*
|
|
554
|
+
* Supported platform: Android, iOS
|
|
555
|
+
*
|
|
556
|
+
* Since: LynxSDK 2.8
|
|
557
|
+
*
|
|
558
|
+
* @defaultValue false
|
|
559
|
+
*/
|
|
560
|
+
enableNewIntersectionObserver?: boolean
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Implement the platform-level list based on scrollView on the IOS platform
|
|
564
|
+
*
|
|
565
|
+
* Supported platform: iOS
|
|
566
|
+
*
|
|
567
|
+
* Since: LynxSDK 2.13
|
|
568
|
+
*
|
|
569
|
+
* @defaultValue false
|
|
570
|
+
*/
|
|
571
|
+
enableNewListContainer?: boolean
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* If this flag is true, new transform origin algorithm will apply.
|
|
575
|
+
*
|
|
576
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
577
|
+
*
|
|
578
|
+
* Since: LynxSDK 2.6
|
|
579
|
+
*
|
|
580
|
+
* @defaultValue true
|
|
581
|
+
*/
|
|
582
|
+
enableNewTransformOrigin?: boolean
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Enable shadow platform gesture to handle gesture conflict.
|
|
586
|
+
*
|
|
587
|
+
* Supported platform: Android, iOS
|
|
588
|
+
*
|
|
589
|
+
* Since: LynxSDK 3.6
|
|
590
|
+
*
|
|
591
|
+
* @defaultValue false
|
|
592
|
+
*/
|
|
593
|
+
enablePlatformGesture?: boolean
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* SimpleStyle mode will incrementally update styles based on properties if this config set to TRUE. Otherwise it will incrementally update based on StyleObjects. The StyleObject based updating has a better performance but not allow StyleObjects bound to the same element has intersect properties.
|
|
597
|
+
*
|
|
598
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
599
|
+
*
|
|
600
|
+
* Since: LynxSDK 3.5
|
|
601
|
+
*
|
|
602
|
+
* @defaultValue false
|
|
603
|
+
*/
|
|
604
|
+
enablePropertyBasedSimpleStyle?: boolean
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Enable query component sync in background runtime
|
|
608
|
+
*
|
|
609
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
610
|
+
*
|
|
611
|
+
* Since: LynxSDK 2.14
|
|
612
|
+
*
|
|
613
|
+
* @defaultValue false
|
|
614
|
+
*/
|
|
615
|
+
enableQueryComponentSync?: boolean
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* If we got propsId, we could only pass propsId and a flag to JS thread. JS thread will use a propsMap to get correct props
|
|
619
|
+
*
|
|
620
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
621
|
+
*
|
|
622
|
+
* Since: LynxSDK 2.2
|
|
623
|
+
*
|
|
624
|
+
* @defaultValue false
|
|
625
|
+
*/
|
|
626
|
+
enableReactOnlyPropsId?: boolean
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* If this flag is true, do not copy init data, instead copy Object.keys of init data for efficiency.
|
|
630
|
+
*
|
|
631
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
632
|
+
*
|
|
633
|
+
* Since: LynxSDK 2.6
|
|
634
|
+
*
|
|
635
|
+
* @defaultValue false
|
|
636
|
+
*/
|
|
637
|
+
enableReduceInitDataCopy?: boolean
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Enable LynxUI onNodeReload lifecycle.
|
|
641
|
+
*
|
|
642
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
643
|
+
*
|
|
644
|
+
* Since: LynxSDK 2.17
|
|
645
|
+
*
|
|
646
|
+
* @defaultValue false
|
|
647
|
+
*/
|
|
648
|
+
enableReloadLifecycle?: boolean
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* If this flag is true, remove the globalProps & systemInfo from component data for efficiency.
|
|
652
|
+
*
|
|
653
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
654
|
+
*
|
|
655
|
+
* Since: LynxSDK 2.7
|
|
656
|
+
*
|
|
657
|
+
* @defaultValue false
|
|
658
|
+
*/
|
|
659
|
+
enableRemoveComponentExtraData?: boolean
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Enable reuse loadScript's result.
|
|
663
|
+
*
|
|
664
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
665
|
+
*
|
|
666
|
+
* Since: LynxSDK 3.5
|
|
667
|
+
*
|
|
668
|
+
* @defaultValue false
|
|
669
|
+
*/
|
|
670
|
+
enableReuseLoadScriptExports?: boolean
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Enable using native signal API
|
|
674
|
+
*
|
|
675
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
676
|
+
*
|
|
677
|
+
* Since: LynxSDK 3.1
|
|
678
|
+
*
|
|
679
|
+
* @defaultValue undefined
|
|
680
|
+
*/
|
|
681
|
+
enableSignalAPI?: boolean
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Enable the client's tap gesture to be triggered simultaneously with Lynx's tap gesture.
|
|
685
|
+
*
|
|
686
|
+
* Supported platform: iOS
|
|
687
|
+
*
|
|
688
|
+
* Since: LynxSDK 2.8
|
|
689
|
+
*
|
|
690
|
+
* @defaultValue false
|
|
691
|
+
*/
|
|
692
|
+
enableSimultaneousTap?: boolean
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Enable using BoringLayout on Android.
|
|
696
|
+
*
|
|
697
|
+
* Supported platform: Android
|
|
698
|
+
*
|
|
699
|
+
* Since: LynxSDK 2.17
|
|
700
|
+
*
|
|
701
|
+
* @defaultValue undefined
|
|
702
|
+
*/
|
|
703
|
+
enableTextBoringLayout?: boolean
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Enable text gradient optimization for iOS.
|
|
707
|
+
*
|
|
708
|
+
* Supported platform: iOS
|
|
709
|
+
*
|
|
710
|
+
* Since: LynxSDK 3.5
|
|
711
|
+
*
|
|
712
|
+
* @defaultValue undefined
|
|
713
|
+
*/
|
|
714
|
+
enableTextGradientOpt?: boolean
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* Enable a more accurate text alignment judgment method, but it will increase the time taken for text layout.
|
|
718
|
+
*
|
|
719
|
+
* Supported platform: iOS
|
|
720
|
+
*
|
|
721
|
+
* Since: LynxSDK 2.8
|
|
722
|
+
*
|
|
723
|
+
* @defaultValue false
|
|
724
|
+
*/
|
|
725
|
+
enableTextLanguageAlignment?: boolean
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Enable using text layer render on iOS.
|
|
729
|
+
*
|
|
730
|
+
* Supported platform: iOS
|
|
731
|
+
*
|
|
732
|
+
* Since: LynxSDK 2.3
|
|
733
|
+
*
|
|
734
|
+
* @defaultValue undefined
|
|
735
|
+
*/
|
|
736
|
+
enableTextLayerRender?: boolean
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Whether enable text layout cache.
|
|
740
|
+
*
|
|
741
|
+
* Supported platform: Android, iOS
|
|
742
|
+
*
|
|
743
|
+
* Since: LynxSDK 3.3
|
|
744
|
+
*
|
|
745
|
+
* @defaultValue undefined
|
|
746
|
+
*/
|
|
747
|
+
enableTextLayoutCache?: boolean
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Whether enable text noncontiguous layout
|
|
751
|
+
*
|
|
752
|
+
* Supported platform: iOS
|
|
753
|
+
*
|
|
754
|
+
* Since: LynxSDK 1.6
|
|
755
|
+
*
|
|
756
|
+
* @defaultValue true
|
|
757
|
+
*/
|
|
758
|
+
enableTextNonContiguousLayout?: boolean
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Set text overflow as visible if true.
|
|
762
|
+
*
|
|
763
|
+
* Supported platform: Android, iOS
|
|
764
|
+
*
|
|
765
|
+
* Since: LynxSDK 2.8
|
|
766
|
+
*
|
|
767
|
+
* @defaultValue false
|
|
768
|
+
*/
|
|
769
|
+
enableTextOverflow?: boolean
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Enable text refactor, with behavior more aligned with web.
|
|
773
|
+
*
|
|
774
|
+
* Supported platform: Android, iOS
|
|
775
|
+
*
|
|
776
|
+
* Since: LynxSDK 2.2
|
|
777
|
+
*
|
|
778
|
+
* @defaultValue false
|
|
779
|
+
*/
|
|
780
|
+
enableTextRefactor?: boolean
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* Enable Lynx's touchend event to be triggered normally.
|
|
784
|
+
*
|
|
785
|
+
* Supported platform: iOS
|
|
786
|
+
*
|
|
787
|
+
* Since: LynxSDK 2.8
|
|
788
|
+
*
|
|
789
|
+
* @defaultValue true
|
|
790
|
+
*/
|
|
791
|
+
enableTouchRefactor?: boolean
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Enable the optimization about UIOperation batching and CreateViewAsync at Android.
|
|
795
|
+
*
|
|
796
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
797
|
+
*
|
|
798
|
+
* Since: LynxSDK 2.16
|
|
799
|
+
*
|
|
800
|
+
* @defaultValue undefined
|
|
801
|
+
*/
|
|
802
|
+
enableUIOperationOptimize?: boolean
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Enable the unified pixel pipeline for Lynx Engine.
|
|
806
|
+
*
|
|
807
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
808
|
+
*
|
|
809
|
+
* Since: LynxSDK 3.4
|
|
810
|
+
*
|
|
811
|
+
* @defaultValue undefined
|
|
812
|
+
*/
|
|
813
|
+
enableUnifiedPipeline?: boolean
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Enable Use Context Pool For LepusNG VM creation.
|
|
817
|
+
*
|
|
818
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
819
|
+
*
|
|
820
|
+
* Since: LynxSDK 2.14
|
|
821
|
+
*
|
|
822
|
+
* @defaultValue undefined
|
|
823
|
+
*/
|
|
824
|
+
enableUseContextPool?: boolean
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* Enable the mapbuffer structure for LynxProps.
|
|
828
|
+
*
|
|
829
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
830
|
+
*
|
|
831
|
+
* Since: LynxSDK 2.14
|
|
832
|
+
*
|
|
833
|
+
* @defaultValue undefined
|
|
834
|
+
*/
|
|
835
|
+
enableUseMapBuffer?: boolean
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Enable touchesBegan and other methods to be triggered when touching the client-slide custom components.
|
|
839
|
+
*
|
|
840
|
+
* Supported platform: iOS
|
|
841
|
+
*
|
|
842
|
+
* Since: LynxSDK 1.4
|
|
843
|
+
*
|
|
844
|
+
* @defaultValue false
|
|
845
|
+
*/
|
|
846
|
+
enableViewReceiveTouch?: boolean
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Drive the execution of UI tasks in the pipeline according to the VSync signal, bringing a certain progressive rendering effect. It is suitable for scenarios where JS-driven updates are frequent. Turn it on as needed.
|
|
850
|
+
*
|
|
851
|
+
* Supported platform: Android, iOS
|
|
852
|
+
*
|
|
853
|
+
* Since: LynxSDK Android: 2.11, iOS: 3.2
|
|
854
|
+
*
|
|
855
|
+
* @defaultValue false
|
|
856
|
+
*/
|
|
857
|
+
enableVsyncAlignedFlush?: boolean
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Whether enable x-text layout reused.
|
|
861
|
+
*
|
|
862
|
+
* Supported platform: iOS
|
|
863
|
+
*
|
|
864
|
+
* Since: LynxSDK 2.9
|
|
865
|
+
*
|
|
866
|
+
* @defaultValue false
|
|
867
|
+
*/
|
|
868
|
+
enableXTextLayoutReused?: boolean
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* A config to force make some special properties can be used to layout only (such as direction&text-align,etc.).
|
|
872
|
+
*
|
|
873
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
874
|
+
*
|
|
875
|
+
* Since: LynxSDK 2.11
|
|
876
|
+
*
|
|
877
|
+
* @defaultValue false
|
|
878
|
+
*/
|
|
879
|
+
extendedLayoutOnlyOpt?: boolean
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* user defined extraInfo.
|
|
883
|
+
*
|
|
884
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
885
|
+
*
|
|
886
|
+
* Since: LynxSDK 2.8
|
|
887
|
+
*
|
|
888
|
+
* @defaultValue undefined
|
|
889
|
+
*/
|
|
890
|
+
extraInfo?: Record<string, unknown>
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Control whether the node requires creating a corresponding Android View. Default is true.
|
|
894
|
+
*
|
|
895
|
+
* Supported platform: Android
|
|
896
|
+
*
|
|
897
|
+
* Since: LynxSDK 1.4
|
|
898
|
+
*
|
|
899
|
+
* @defaultValue true
|
|
900
|
+
*/
|
|
901
|
+
flatten?: boolean
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Make font scale only apply to sp units.
|
|
905
|
+
*
|
|
906
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
907
|
+
*
|
|
908
|
+
* Since: LynxSDK 2.4
|
|
909
|
+
*
|
|
910
|
+
* @defaultValue false
|
|
911
|
+
*/
|
|
912
|
+
fontScaleEffectiveOnlyOnSp?: boolean
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Control whether implicit animations are allowed on the iOS platform.
|
|
916
|
+
*
|
|
917
|
+
* Supported platform: iOS
|
|
918
|
+
*
|
|
919
|
+
* Since: LynxSDK 1.4
|
|
920
|
+
*
|
|
921
|
+
* @defaultValue true
|
|
922
|
+
*/
|
|
923
|
+
implicit?: boolean
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Control the top and bottom padding of text on Android, which affects the text's height and vertical centering effect.
|
|
927
|
+
*
|
|
928
|
+
* Supported platform: Android
|
|
929
|
+
*
|
|
930
|
+
* Since: LynxSDK 2.4
|
|
931
|
+
*
|
|
932
|
+
* @defaultValue false
|
|
933
|
+
*/
|
|
934
|
+
includeFontPadding?: boolean
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* The outer decor view that wraps lynx view may change due to that virtual navigation bar is shielded or drawn. Change the returning value of keyboard event to return absolute keyboard height and the offset from keyboard to to lynx view bottom
|
|
938
|
+
*
|
|
939
|
+
* Supported platform: Android
|
|
940
|
+
*
|
|
941
|
+
* Since: LynxSDK 2.2
|
|
942
|
+
*
|
|
943
|
+
* @defaultValue false
|
|
944
|
+
*/
|
|
945
|
+
keyboardCallbackPassRelativeHeight?: boolean
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Specify the interval for triggering the long press event.
|
|
949
|
+
*
|
|
950
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
951
|
+
*
|
|
952
|
+
* Since: LynxSDK 2.8
|
|
953
|
+
*
|
|
954
|
+
* @defaultValue undefined
|
|
955
|
+
*/
|
|
956
|
+
longPressDuration?: number
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* Specifies the frequency of exposure detection.
|
|
960
|
+
*
|
|
961
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
962
|
+
*
|
|
963
|
+
* Since: LynxSDK 2.5
|
|
964
|
+
*
|
|
965
|
+
* @defaultValue undefined
|
|
966
|
+
*/
|
|
967
|
+
observerFrameRate?: number
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Scheduler config for pipeline, including enableParallelElement/list-framework batch render and other scheduler config.
|
|
971
|
+
*
|
|
972
|
+
* Supported platform: Android, iOS
|
|
973
|
+
*
|
|
974
|
+
* Since: LynxSDK 3.1
|
|
975
|
+
*
|
|
976
|
+
* @defaultValue undefined
|
|
977
|
+
*/
|
|
978
|
+
pipelineSchedulerConfig?: number
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Control the frame rate of CSS animations
|
|
982
|
+
*
|
|
983
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
984
|
+
*
|
|
985
|
+
* Since: LynxSDK 3.0
|
|
986
|
+
*
|
|
987
|
+
* @defaultValue "auto"
|
|
988
|
+
*/
|
|
989
|
+
preferredFps?: string
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Supports string value. It is equal to TargetSDKVersion by default. The mode is for compatibility with old pages that do not conform to CSS layout specifications produced.
|
|
993
|
+
*
|
|
994
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
995
|
+
*
|
|
996
|
+
* Since: LynxSDK 1.4
|
|
997
|
+
*
|
|
998
|
+
* @defaultValue undefined
|
|
999
|
+
*/
|
|
1000
|
+
quirksMode?: boolean | string
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* If false, descendant selector only works in component scope.
|
|
1004
|
+
*
|
|
1005
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1006
|
+
*
|
|
1007
|
+
* Since: LynxSDK 2.0
|
|
1008
|
+
*
|
|
1009
|
+
* @defaultValue true
|
|
1010
|
+
*/
|
|
1011
|
+
removeDescendantSelectorScope?: boolean
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* if this flag is true, if component's prop type mismatch, will use default value.
|
|
1015
|
+
*
|
|
1016
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1017
|
+
*
|
|
1018
|
+
* Since: LynxSDK 2.10
|
|
1019
|
+
*
|
|
1020
|
+
* @defaultValue false
|
|
1021
|
+
*/
|
|
1022
|
+
strictPropType?: boolean
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Specify the sliding distance threshold at which the tap event is not triggered.
|
|
1026
|
+
*
|
|
1027
|
+
* Supported platform: Android, HarmonyOS
|
|
1028
|
+
*
|
|
1029
|
+
* Since: LynxSDK 2.0
|
|
1030
|
+
*
|
|
1031
|
+
* @defaultValue "50px"
|
|
1032
|
+
*/
|
|
1033
|
+
tapSlop?: string
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Enable the iOS image refactor
|
|
1037
|
+
*
|
|
1038
|
+
* Supported platform: iOS
|
|
1039
|
+
*
|
|
1040
|
+
* Since: LynxSDK 2.6
|
|
1041
|
+
*
|
|
1042
|
+
* @defaultValue undefined
|
|
1043
|
+
*/
|
|
1044
|
+
trailNewImage?: boolean
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Control whether the vw and vh units dynamically adjust with the viewport in properties like font-size; enabled by default for targetSdkVersion >= 2.3
|
|
1048
|
+
*
|
|
1049
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1050
|
+
*
|
|
1051
|
+
* Since: LynxSDK 2.3
|
|
1052
|
+
*
|
|
1053
|
+
* @defaultValue false
|
|
1054
|
+
*/
|
|
1055
|
+
unifyVWVHBehavior?: boolean
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* Whether use image post processor
|
|
1059
|
+
*
|
|
1060
|
+
* Supported platform: Android
|
|
1061
|
+
*
|
|
1062
|
+
* Since: LynxSDK 2.7
|
|
1063
|
+
*
|
|
1064
|
+
* @defaultValue false
|
|
1065
|
+
*/
|
|
1066
|
+
useImagePostProcessor?: boolean
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Indicates whether to use new swiper
|
|
1070
|
+
*
|
|
1071
|
+
* Supported platform: Android
|
|
1072
|
+
*
|
|
1073
|
+
* Since: LynxSDK 1.6
|
|
1074
|
+
*
|
|
1075
|
+
* @defaultValue true
|
|
1076
|
+
*/
|
|
1077
|
+
useNewSwiper?: boolean
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* deprecated
|
|
1081
|
+
*
|
|
1082
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1083
|
+
*
|
|
1084
|
+
* @defaultValue true
|
|
1085
|
+
* @deprecated 3.5
|
|
1086
|
+
*/
|
|
1087
|
+
autoResumeAnimation?: boolean
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* cli version
|
|
1091
|
+
*
|
|
1092
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1093
|
+
*
|
|
1094
|
+
* @defaultValue ""
|
|
1095
|
+
* @deprecated 3.5
|
|
1096
|
+
*/
|
|
1097
|
+
cli?: string
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1101
|
+
*
|
|
1102
|
+
* @defaultValue false
|
|
1103
|
+
* @deprecated 3.5
|
|
1104
|
+
*/
|
|
1105
|
+
compileRender?: boolean
|
|
1106
|
+
|
|
1107
|
+
/**
|
|
1108
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1109
|
+
*
|
|
1110
|
+
* @defaultValue ""
|
|
1111
|
+
* @deprecated 3.5
|
|
1112
|
+
*/
|
|
1113
|
+
customData?: string
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Enable MutationObserver for accessibility.
|
|
1117
|
+
*
|
|
1118
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1119
|
+
*
|
|
1120
|
+
* Since: LynxSDK 2.18
|
|
1121
|
+
*
|
|
1122
|
+
* @defaultValue false
|
|
1123
|
+
* @deprecated 3.5
|
|
1124
|
+
*/
|
|
1125
|
+
enableA11yIDMutationObserver?: boolean
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Globally enable async rendering for software rendering contents on iOS, this can largely optimize the frame rate and reduce janks.
|
|
1129
|
+
*
|
|
1130
|
+
* Supported platform: iOS
|
|
1131
|
+
*
|
|
1132
|
+
* Since: LynxSDK 2.1
|
|
1133
|
+
*
|
|
1134
|
+
* @defaultValue true
|
|
1135
|
+
* @deprecated 3.5
|
|
1136
|
+
*/
|
|
1137
|
+
enableAsyncDisplay?: boolean
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* Enable iOS background manager to apply shape layer optimization. Deprecated and to be removed since this optimization becomes a fixed setting.
|
|
1141
|
+
*
|
|
1142
|
+
* Supported platform: iOS
|
|
1143
|
+
*
|
|
1144
|
+
* Since: LynxSDK 2.3
|
|
1145
|
+
*
|
|
1146
|
+
* @defaultValue true
|
|
1147
|
+
* @deprecated 3.5
|
|
1148
|
+
*/
|
|
1149
|
+
enableBackgroundShapeLayer?: boolean
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Deprecated, this is for legacy CSS selector to enable a cascading.
|
|
1153
|
+
*
|
|
1154
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1155
|
+
*
|
|
1156
|
+
* Since: LynxSDK 2.1
|
|
1157
|
+
*
|
|
1158
|
+
* @defaultValue false
|
|
1159
|
+
* @deprecated 3.5
|
|
1160
|
+
*/
|
|
1161
|
+
enableCascadePseudo?: boolean
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1165
|
+
*
|
|
1166
|
+
* @defaultValue true
|
|
1167
|
+
* @deprecated 3.5
|
|
1168
|
+
*/
|
|
1169
|
+
enableCheckDataWhenUpdatePage?: boolean
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1173
|
+
*
|
|
1174
|
+
* Since: LynxSDK 2.5
|
|
1175
|
+
*
|
|
1176
|
+
* @defaultValue false
|
|
1177
|
+
* @deprecated 3.5
|
|
1178
|
+
*/
|
|
1179
|
+
enableComponentLayoutOnly?: boolean
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1183
|
+
*
|
|
1184
|
+
* @defaultValue false
|
|
1185
|
+
* @deprecated 3.5
|
|
1186
|
+
*/
|
|
1187
|
+
enableGlobalComponentMap?: boolean
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* Enable create ui async form C++ PaintingContext
|
|
1191
|
+
*
|
|
1192
|
+
* Supported platform: Android
|
|
1193
|
+
*
|
|
1194
|
+
* @defaultValue undefined
|
|
1195
|
+
* @deprecated 3.5
|
|
1196
|
+
*/
|
|
1197
|
+
enableNativeScheduleCreateViewAsync?: boolean
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Supported platform: Android
|
|
1201
|
+
*
|
|
1202
|
+
* Since: LynxSDK 2.7
|
|
1203
|
+
*
|
|
1204
|
+
* @defaultValue false
|
|
1205
|
+
* @deprecated 3.5
|
|
1206
|
+
*/
|
|
1207
|
+
enableNewAccessibility?: boolean
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1211
|
+
*
|
|
1212
|
+
* @defaultValue true
|
|
1213
|
+
* @deprecated 3.5
|
|
1214
|
+
*/
|
|
1215
|
+
enableNewLayoutOnly?: boolean
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* Enable using PropBundleStyleWriter to write style to PropBundle.
|
|
1219
|
+
*
|
|
1220
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1221
|
+
*
|
|
1222
|
+
* @defaultValue undefined
|
|
1223
|
+
* @deprecated 3.5
|
|
1224
|
+
*/
|
|
1225
|
+
enableOptPushStyleToBundle?: boolean
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Supported platform: Android
|
|
1229
|
+
*
|
|
1230
|
+
* Since: LynxSDK 2.3
|
|
1231
|
+
*
|
|
1232
|
+
* @defaultValue true
|
|
1233
|
+
* @deprecated 3.5
|
|
1234
|
+
*/
|
|
1235
|
+
enableOverlapForAccessibilityElement?: boolean
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1239
|
+
*
|
|
1240
|
+
* Since: LynxSDK 3.1
|
|
1241
|
+
*
|
|
1242
|
+
* @defaultValue true
|
|
1243
|
+
* @deprecated 3.5
|
|
1244
|
+
*/
|
|
1245
|
+
fixCSSImportRuleOrder?: boolean
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1249
|
+
*
|
|
1250
|
+
* @defaultValue true
|
|
1251
|
+
* @deprecated 3.5
|
|
1252
|
+
*/
|
|
1253
|
+
forceCalcNewStyle?: boolean
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1257
|
+
*
|
|
1258
|
+
* Since: LynxSDK 2.1
|
|
1259
|
+
*
|
|
1260
|
+
* @defaultValue ""
|
|
1261
|
+
* @deprecated 3.5
|
|
1262
|
+
*/
|
|
1263
|
+
reactVersion?: string
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Supported platform: Android, iOS, HarmonyOS
|
|
1267
|
+
*
|
|
1268
|
+
* @defaultValue undefined
|
|
1269
|
+
* @deprecated 3.5
|
|
1270
|
+
*/
|
|
1271
|
+
redBoxImageSizeWarningThreshold?: number
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* deprecated
|
|
1275
|
+
*
|
|
1276
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1277
|
+
*
|
|
1278
|
+
* Since: LynxSDK 1.6
|
|
1279
|
+
*
|
|
1280
|
+
* @defaultValue false
|
|
1281
|
+
* @deprecated 3.5
|
|
1282
|
+
*/
|
|
1283
|
+
removeComponentElement?: boolean
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* If true and on the main thread, image requests will be initiated immediately; otherwise, image requests will be posted after the next frame of the main thread to delay the requests.
|
|
1287
|
+
*
|
|
1288
|
+
* Supported platform: Android
|
|
1289
|
+
*
|
|
1290
|
+
* Since: LynxSDK 2.6
|
|
1291
|
+
*
|
|
1292
|
+
* @defaultValue true
|
|
1293
|
+
* @deprecated 3.5
|
|
1294
|
+
*/
|
|
1295
|
+
syncImageAttach?: boolean
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* Supported platform: Android, iOS
|
|
1299
|
+
*
|
|
1300
|
+
* @defaultValue undefined
|
|
1301
|
+
* @deprecated 3.5
|
|
1302
|
+
*/
|
|
1303
|
+
useNewImage?: boolean
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Supported platform: Android, HarmonyOS, iOS
|
|
1307
|
+
*
|
|
1308
|
+
* @defaultValue ""
|
|
1309
|
+
* @deprecated 3.5
|
|
1310
|
+
*/
|
|
1311
|
+
version?: string
|
|
1312
|
+
|
|
1313
|
+
}
|