Functions
Toast functions. (Use with in main file class 'new DialogioToast')
Notif(message: string, redirect: string, showIcon: bool)
Displays a notification (bell) toast notification.
*message: The message to display in the toast
redirect: When you click on the notification, you will be redirected to this address (only url). Default is no redirect, remove notification.
showIcon: Whether to display the icon in the toast. Defaults to true.
Danger(message: string, redirect: string, showIcon: bool)
Displays a danger toast notification.
*message: The message to display in the toast
redirect: When you click on the notification, you will be redirected to this address (only url). Default is no redirect, remove notification.
showIcon: Whether to display the icon in the toast. Defaults to true.
Success(message: string, redirect: string, showIcon: bool)
Displays a success toast notification.
*message: The message to display in the toast
redirect: When you click on the notification, you will be redirected to this address (only url). Default is no redirect, remove notification.
showIcon: Whether to display the icon in the toast. Defaults to true.
Warn(message: string, redirect: string, showIcon: bool)
Displays a warning toast notification.
*message: The message to display in the toast
redirect: When you click on the notification, you will be redirected to this address (only url). Default is no redirect, remove notification.
showIcon: Whether to display the icon in the toast. Defaults to true.
Info(message: string, redirect: string, showIcon: bool)
Displays a information toast notification.
*message: The message to display in the toast
redirect: When you click on the notification, you will be redirected to this address (only url). Default is no redirect, remove notification.
showIcon: Whether to display the icon in the toast. Defaults to true.
Last updated