Notification
Information about the notification binding

post

1
notification.post(notification.success, "This is the title", "description")
2
​
3
notification.post(notification.success, "This is the title", "description", 5)
Copied!
Posts a notification with the specified type, title, and description.
Parameter
Type
Description
notificationType
​NotificationType​
The type of notification
title
String
The title of the notification
description
String
The description of the notification
time (optional)
Number
Amount of time the notification will display for in seconds

NotificationType

Success

1
notification.success
Copied!
This type of notification will send a notification with a success icon

Disable

1
notification.disable
Copied!
This type of notification will send a notification with a disable icon

Info

1
notification.info
Copied!
This type of notification will send a notification with a info icon

Warning

1
notification.warning
Copied!
This type of notification will send a notification with a warning icon
​
Last modified 3mo ago