You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgdxpr e69712b1d2
'commit'
1 year ago
..
README.en-US.md 'commit' 1 year ago
README.md 'commit' 1 year ago
props.d.ts 'commit' 1 year ago
props.js 'commit' 1 year ago
swipe-cell.d.ts 'commit' 1 year ago
swipe-cell.js 'commit' 1 year ago
swipe-cell.json 'commit' 1 year ago
swipe-cell.wxml 'commit' 1 year ago
swipe-cell.wxs 'commit' 1 year ago
swipe-cell.wxss 'commit' 1 year ago
type.d.ts 'commit' 1 year ago
type.js 'commit' 1 year ago

README.en-US.md

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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