city-casereport/miniprogram_npm/tdesign-miniprogram/swipe-cell
2023-12-06 14:22:42 +08:00
..
props.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
props.js 户籍信息录入 2023-12-06 14:22:42 +08:00
README.en-US.md 户籍信息录入 2023-12-06 14:22:42 +08:00
README.md 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.js 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.json 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.wxml 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.wxs 户籍信息录入 2023-12-06 14:22:42 +08:00
swipe-cell.wxss 户籍信息录入 2023-12-06 14:22:42 +08:00
type.d.ts 户籍信息录入 2023-12-06 14:22:42 +08:00
type.js 户籍信息录入 2023-12-06 14:22:42 +08:00

:: 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'