CyberStore Ecommerce 2023 Documentation
ToastAlert Method
The message.
The success indicator, true to display success message, false to display error message.
The success message timeout in milliseconds, default 10000.
The error message timeout in milliseconds, default 10000.
Toast alert.
Syntax
var value; // Type: any
value = ToastAlert(message, success, successTimeout, errorTimeout);
function ToastAlert( 
   message : any,
   success : any,
   successTimeout : any,
   errorTimeout : any
) : any;

Parameters

message
The message.
success
The success indicator, true to display success message, false to display error message.
successTimeout
The success message timeout in milliseconds, default 10000.
errorTimeout
The error message timeout in milliseconds, default 10000.