docs: improve teleport description (#8819)

This commit is contained in:
neverland
2021-06-07 19:25:06 +08:00
committed by GitHub
parent 851e0a89d7
commit b2a090344f
10 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -165,7 +165,7 @@ export default {
| allowHtml | Whether to allow HTML rendering in message | _boolean_ | `false` |
| beforeClose | Callback function before close | _(action) => boolean \| Promise_ | - |
| transition | Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition) | _string_ | - |
| teleport | Return the mount node for Dialog | _string \| Element_ | `body` |
| teleport | Specifies a target element where Dialog will be mounted | _string \| Element_ | `body` |
### Props
@@ -193,7 +193,7 @@ export default {
| allow-html | Whether to allow HTML rendering in message | _boolean_ | `false` |
| before-close | Callback function before close | _(action) => boolean \| Promise_ | - |
| transition | Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition) | _string_ | - |
| teleport | Return the mount node for Dialog | _string \| Element_ | - |
| teleport | Specifies a target element where Dialog will be mounted | _string \| Element_ | - |
### Events