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'
12 months ago
..
README.en-US.md 'commit' 12 months ago
README.md 'commit' 12 months ago
props.d.ts 'commit' 12 months ago
props.js 'commit' 12 months ago
swipe-cell.d.ts 'commit' 12 months ago
swipe-cell.js 'commit' 12 months ago
swipe-cell.json 'commit' 12 months ago
swipe-cell.wxml 'commit' 12 months ago
swipe-cell.wxs 'commit' 12 months ago
swipe-cell.wxss 'commit' 12 months ago
type.d.ts 'commit' 12 months ago
type.js 'commit' 12 months 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'