feat(Toast): add overlayClass option (#7925)

This commit is contained in:
neverland
2021-01-16 19:42:06 +08:00
committed by GitHub
parent e43ec34964
commit f8fb4fa96d
5 changed files with 6 additions and 0 deletions
+1
View File
@@ -174,6 +174,7 @@ Toast.resetDefaultOptions('loading');
| loadingType | [加载图标类型](#/zh-CN/loading), 可选值为 `spinner` | _string_ | `circular` |
| duration | 展示时长(ms),值为 0 时,toast 不会消失 | _number_ | `2000` |
| className | 自定义类名 | _any_ | - |
| overlayClass `v3.0.4` | 自定义遮罩层类名 | _string \| string[] \| object_ | - |
| overlayStyle `v3.0.4` | 自定义遮罩层样式 | _object_ | - |
| onOpened | 完全展示后的回调函数 | _Function_ | - |
| onClose | 关闭时的回调函数 | _Function_ | - |