@lynx-js/types 3.5.10-alpha.0 → 3.5.10-beta.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 +3 -0
- package/package.json +1 -1
- package/types/common/element/list.d.ts +2 -15
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -36,19 +36,6 @@ export enum ListEventSource {
|
|
|
36
36
|
SCROLL = 2,
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* The layout type of list.
|
|
41
|
-
* @Android
|
|
42
|
-
* @iOS
|
|
43
|
-
* @Harmony
|
|
44
|
-
* @PC
|
|
45
|
-
*/
|
|
46
|
-
export enum ListType {
|
|
47
|
-
SINGLE = 'single',
|
|
48
|
-
FLOW = 'flow',
|
|
49
|
-
WATERFALL = 'waterfall',
|
|
50
|
-
}
|
|
51
|
-
|
|
52
39
|
export interface ListAttachedCell {
|
|
53
40
|
/**
|
|
54
41
|
* id of list item
|
|
@@ -414,13 +401,13 @@ export interface ListProps extends StandardProps {
|
|
|
414
401
|
|
|
415
402
|
/**
|
|
416
403
|
* layout type of the list
|
|
417
|
-
* @defaultValue
|
|
404
|
+
* @defaultValue 'single'
|
|
418
405
|
* @Android
|
|
419
406
|
* @iOS
|
|
420
407
|
* @Harmony
|
|
421
408
|
* @PC
|
|
422
409
|
*/
|
|
423
|
-
'list-type'?:
|
|
410
|
+
'list-type'?: 'single' | 'flow' | 'waterfall';
|
|
424
411
|
|
|
425
412
|
/**
|
|
426
413
|
* Whether to allow scrolling for a list.
|