ado5 3903c18ce2 first commit | il y a 9 mois | |
---|---|---|
.. | ||
README.en-US.md | il y a 9 mois | |
README.md | il y a 9 mois | |
props.d.ts | il y a 9 mois | |
props.js | il y a 9 mois | |
swipe-cell.d.ts | il y a 9 mois | |
swipe-cell.js | il y a 9 mois | |
swipe-cell.json | il y a 9 mois | |
swipe-cell.wxml | il y a 9 mois | |
swipe-cell.wxs | il y a 9 mois | |
swipe-cell.wxss | il y a 9 mois | |
type.d.ts | il y a 9 mois | |
type.js | il y a 9 mois |
:: BASE_DOC ::
name | type | default | description | required
-- | -- | -- | -- | --
custom-style | String | - | - | N
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; 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'