feat(Toast): add transition option (#4638)

This commit is contained in:
neverland
2019-10-03 08:51:50 +08:00
committed by GitHub
parent 3e522d35e6
commit be2a1bf91c
5 changed files with 14 additions and 6 deletions
+1
View File
@@ -127,4 +127,5 @@ toast2.clear();
| className | Custom className | *any* | - | - |
| onOpened | Callback function after opened | *Function* | - | - |
| onClose | Callback function after close | *Function* | - | - |
| transition | Transition, equivalent to `name` prop of [transtion](https://vuejs.org/v2/api/#transition) | *string* | - | 2.2.6 |
| getContainer | Return the mount node for Toast | *string \| () => Element* | `body` | - |