WGShare.Client.Wx/miniprogram_npm/tdesign-miniprogram/swipe-cell
yj d281aab5b3 Initial Commit 2024-11-11 14:16:29 +08:00
..
README.en-US.md Initial Commit 2024-11-11 14:16:29 +08:00
README.md Initial Commit 2024-11-11 14:16:29 +08:00
props.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
props.js Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.js Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.json Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.wxml Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.wxs Initial Commit 2024-11-11 14:16:29 +08:00
swipe-cell.wxss Initial Commit 2024-11-11 14:16:29 +08:00
type.d.ts Initial Commit 2024-11-11 14:16:29 +08:00
type.js Initial Commit 2024-11-11 14:16:29 +08:00

README.en-US.md

:: BASE_DOC ::

API

SwipeCell Props

name type default description required
disabled Boolean - - N
opened Boolean / Array false - N
left Array / Slot - TypescriptArray<SwipeActionItem> 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

SwipeCell Events

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