xiahan cb6ddd3787 feature 代码提交 5 months ago
..
README.en-US.md cb6ddd3787 feature 代码提交 5 months ago
README.md cb6ddd3787 feature 代码提交 5 months ago
props.d.ts cb6ddd3787 feature 代码提交 5 months ago
props.js cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.d.ts cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.js cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.json cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.wxml cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.wxs cb6ddd3787 feature 代码提交 5 months ago
swipe-cell.wxss cb6ddd3787 feature 代码提交 5 months ago
type.d.ts cb6ddd3787 feature 代码提交 5 months ago
type.js cb6ddd3787 feature 代码提交 5 months ago

README.en-US.md

:: BASE_DOC ::

API

SwipeCell Props

name | type | default | description | required -- | -- | -- | -- | -- style | Object | - | CSS(Cascading Style Sheets) | N custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N disabled | Boolean | - | - | N left | Array / Slot | - | Typescript:Array<SwipeActionItem> | N opened | Boolean / Array | false | Typescript:boolean \| Array<boolean> | N right | Array / Slot | - | Typescript:Array<SwipeActionItem> interface SwipeActionItem {text?: string; icon?: string \| object, className?: string; style?: string; onClick?: () => void; [key: string]: any }see more ts definition | N

SwipeCell Events

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