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
+1 -1
View File
@@ -173,7 +173,7 @@ Toast.resetDefaultOptions('loading');
| onOpened | Callback function after opened | _Function_ | - |
| onClose | Callback function after close | _Function_ | - |
| transition | Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition) | _string_ | `van-fade` |
| teleport | Return the mount node for Toast | _string \| Element_ | `body` |
| teleport | Specifies a target element where Toast will be mounted | _string \| Element_ | `body` |
### Less Variables