text The text of the notification.
duration The duration for which the notification should be displayed. In milliseconds.
notificationTypeThe type of the notification. 'info''error''success''warning'
Static Message
Ui Position
top-lefttop-rightbottom-leftbottom-right{right = 0, top = 0}
Custom Static Message
text The text of the static message, if false ui is hidden.
Control Buttons
Ui Position
top-lefttop-rightbottom-leftbottom-right{right = 0, top = 0}
Custom Control Buttons
Displays control buttons to the user.
text The text associated with the control buttons, if false ui is hidden.
Progressbar
Ui Position
lowmediumhigh
Custom Progressbar
data The data for the progress bar.
data.duration The duration for which the progress bar should be displayed. In milliseconds.
data.text The text associated with the progress bar.
data.canStop A boolean indicating whether the progress bar can be stopped by the user.
data.placement The placement of the progress bar. Default low. [low, medium, high]
cb The callback function to be executed when the progress bar completes.