Direction in which the list items are arranged. For details, see Axis enums. |
|||
Style of the divider for the list items. By default, there is no divider. strokeWidth: stroke width of the divider. startMargin: distance between the divider and the start of the list. endMargin: distance between the divider and the end of the list. |
|||
Sliding effect. For details, see EdgeEffect enums. |
|||
Whether to display chained animations on this list when it slides or its top and bottom are dragged. The list items are separated with even space, and one item animation starts after the previous animation during basic sliding interactions. The chained animation effect is similar with spring physics. |
onScrollIndex(firstIndex: number, lastIndex: number) => void |
Triggered when the start position and end position of the current list are changed. |
onItemDragEnter(callback: (event: ItemDragInfo) => void) |
Triggered when the list item that is bound to the drag event enters a valid drop target. |
onItemDragMove(callback: (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) |
Triggered when the list item that is bound to the drag event enters a valid drop target. |
onItemDragLeave(callback: (event: ItemDragInfo, itemIndex: number) => void) |
Triggered when the list item that is bound to the drag event leaves a valid drop target. |
onItemDragStart(callback: (event: ItemDragInfo, itemIndex: number) => CustomBuilder) |
Triggered when the list item that is bound to the drag event is dragged for the first time. |
onItemDrop(callback: (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) |
Triggered when the list item that is bound to the drag event is dropped on a valid drop target. |