notifications
Last updated
Last updated
name
type
default
description
message
string
""
Message of the notification
level
string
"info"
Level of the notification. Available: success, error, warning, info
autoDismiss
int
0
Delay in seconds for the notification go away. 0
to not auto-dismiss the notification
uuid
int/string
null
Notification won't be displayed without a uuid. Notifications with same uuid won't be displayed.
name
type
default
description
message
string
null
Message of the notification
buttonTexts
array
['cancel', 'ok']
Confirm buttons texts, first item take the cancel text and the second takes the confirm text
onConfirm
function
null
callback function will be called on confirm
onCancel
function
null
callback function will be called on cancel