[Improvement] Dialog: add get-container prop (#1176)

This commit is contained in:
neverland
2018-05-28 17:48:39 +08:00
committed by GitHub
parent 2833445d39
commit 0a6afa2545
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -138,6 +138,7 @@ export default {
| close-on-click-overlay | Whether to close when click overlay | `Boolean` | `false` |
| lock-scroll | Whether to lock background scroll | `Boolean` | `true` |
| before-close | Callback before closecall done to close dialog | (action: string, done: function) => void | - |
| get-container | Return the mount node for Dialog | `() => HTMLElement` | - |
### Event