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