You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joe 9b449c2688 first commit 2 years ago
..
README.en-US.md first commit 2 years ago
README.md first commit 2 years ago
props.d.ts first commit 2 years ago
props.js first commit 2 years ago
swipe-cell.d.ts first commit 2 years ago
swipe-cell.js first commit 2 years ago
swipe-cell.json first commit 2 years ago
swipe-cell.wxml first commit 2 years ago
swipe-cell.wxs first commit 2 years ago
swipe-cell.wxss first commit 2 years ago
type.d.ts first commit 2 years ago
type.js first commit 2 years ago

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'