Files
HuajisheTools/HuajisheCheckChaoXing/miniprogram_npm/tdesign-miniprogram/swipe-cell
2025-10-01 10:01:52 +08:00
..
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00
2025-10-01 10:01:52 +08:00

:: BASE_DOC ::

API

SwipeCell Props

name type default description required
style Object - CSS(Cascading Style Sheets) N
custom-style Object - CSS(Cascading Style Sheets)used to set style on virtual component N
disabled Boolean - - N
left Array / Slot - TypescriptArray<SwipeActionItem> N
opened Boolean / Array false Typescriptboolean | Array<boolean> N
right Array / Slot - TypescriptArray<SwipeActionItem> interface SwipeActionItem {text?: string; icon?: string | object, className?: string; style?: string; onClick?: () => void; [key: string]: any }see more ts definition N

SwipeCell Events

name params description
click (action: SwipeActionItem, source: SwipeSource) see more ts definition
type SwipeSource = 'left' | 'right'
dragend - -
dragstart - -