xiaohaizhao 57fee92290 国际化 | 5 months ago | |
---|---|---|
.. | ||
README.en-US.md | 2 years ago | |
README.md | 2 years ago | |
props.d.ts | 2 years ago | |
props.js | 2 years ago | |
swipe-cell.d.ts | 2 years ago | |
swipe-cell.js | 2 years ago | |
swipe-cell.json | 2 years ago | |
swipe-cell.wxml | 5 months ago | |
swipe-cell.wxs | 2 years ago | |
swipe-cell.wxss | 2 years ago | |
type.d.ts | 2 years ago | |
type.js | 2 years ago |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
disabled | Boolean | - | - | N
opened | Boolean / Array | false | - | N
left | Array / Slot | - | Typescript:Array<SwipeActionItem>
| 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
name | params | description
-- | -- | --
click | (action: SwipeActionItem, source: SwipeSource)
| see more ts definition。type SwipeSource = 'left' \| 'right'