[Doc] add click event document (#722)

This commit is contained in:
neverland
2018-03-19 13:05:08 +08:00
committed by GitHub
parent 326b2d4c51
commit 1489efd9f9
6 changed files with 38 additions and 2 deletions
+6
View File
@@ -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 | - |
+7 -1
View File
@@ -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 |
|-----------|-----------|
+6
View File
@@ -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 | - |