[Improvement] Popup: get-container support selector (#1699)

This commit is contained in:
neverland
2018-08-27 17:10:50 +08:00
committed by GitHub
parent ab00a16b6a
commit 9e22eb4c1f
11 changed files with 43 additions and 13 deletions
+1 -1
View File
@@ -141,7 +141,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 close,<br>call done() to close dialog,<br>call done(false) to cancel loading | (action: string, done: function) => void | - |
| get-container | Return the mount node for Dialog | `() => HTMLElement` | - |
| get-container | Return the mount node for Dialog | `String | () => HTMLElement` | - |
### Event