web / Notification
Interface: Notification ​
Properties ​
action? ​
optional
action:object
onClick() ​
onClick: (...
arguments_
) =>void
Parameters ​
• ...arguments_: any
Returns ​
void
text ​
text:
string
Defined in ​
apps/web/composables/useNotification/types.ts:3
dismiss()? ​
optional
dismiss: () =>void
Returns ​
void
Defined in ​
apps/web/composables/useNotification/types.ts:7
dismissTimeout? ​
optional
dismissTimeout:number
Defined in ​
apps/web/composables/useNotification/types.ts:8
id? ​
optional
id:symbol
Defined in ​
apps/web/composables/useNotification/types.ts:6
message ​
message:
string
|string
[]
Defined in ​
apps/web/composables/useNotification/types.ts:2
persist? ​
optional
persist:boolean
Defined in ​
apps/web/composables/useNotification/types.ts:5
type ​
type:
"warning"
|"neutral"
|"positive"
|"secondary"
|"negative"