[Doc] add click event document (#722)
This commit is contained in:
@@ -76,3 +76,9 @@ Use `tag` prop to custom button tag
|
||||
| loading | Whether show loading status | `Boolean` | `false` | - |
|
||||
| block | Whether to set display block | `Boolean` | `false` | - |
|
||||
| bottom-action | Whether to be action button | `Boolean` | `false` | - |
|
||||
|
||||
### Event
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|-----------|-----------|-----------|
|
||||
| click | Triggered when click button and not disabled or loading | - |
|
||||
|
||||
@@ -82,7 +82,13 @@ Vue.use(Cell).use(CellGroup);
|
||||
| is-link | Whether to show link icon | `Boolean` | `false` | - |
|
||||
| required | Whether to show required mark | `Boolean` | `false` | - |
|
||||
|
||||
### Slot
|
||||
### Cell Event
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|-----------|-----------|-----------|
|
||||
| click | Triggered when click cell | - |
|
||||
|
||||
### Cell Slot
|
||||
|
||||
| name | Description |
|
||||
|-----------|-----------|
|
||||
|
||||
@@ -29,3 +29,9 @@ import 'vant/lib/vant-css/icon-local.css';
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| name | Icon name | `String` | `''` | - |
|
||||
| info | Info message | `String` | `''` | - |
|
||||
|
||||
### Event
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|-----------|-----------|-----------|
|
||||
| click | Triggered when click icon | - |
|
||||
|
||||
Reference in New Issue
Block a user