You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/notification/notification.en-US.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,15 @@ footer | String / Slot / Function | - | Typescript:`string \| TNode`。[see mo
14
14
icon | Boolean / Slot / Function | true | Typescript:`boolean \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
15
15
theme | String | info | options: info/success/warning/error。Typescript:`NotificationThemeList``type NotificationThemeList = 'info' \| 'success' \| 'warning' \| 'error'`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/notification/type.ts) | N
16
16
title | String / Slot / Function | - | Typescript:`string \| TNode`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/common.ts) | N
17
+
onClose | Function | | Typescript::`() => void`<br/> the callback event of NotificationPlugin.close | N
17
18
onCloseBtnClick | Function | | Typescript:`(context: { e: MouseEvent }) => void`<br/> | N
18
19
onDurationEnd | Function | | Typescript:`() => void`<br/> | N
19
20
20
21
### Notification Events
21
22
22
23
name | params | description
23
24
-- | -- | --
25
+
close | \- | the callback event of NotificationPlugin.close
0 commit comments