[improvement] Actionsheet: add cancel event (#796)

This commit is contained in:
张敏
2018-03-29 11:43:21 +08:00
committed by GitHub
parent 99361427f9
commit 1c2b45503e
5 changed files with 29 additions and 3 deletions
+6
View File
@@ -72,6 +72,12 @@ Actionsheet will get another style if there is a `title` prop.
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | - | - |
| get-container | Return the mount node for actionsheet | `Function` | - | `() => HTMLElement` |
### Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
| cancel | Triggered when cancel click | - |
### Data struct of actions
| key | Description |