DISPLAYTOAST

Display custom text as a toast message. Supported message types are alert, error, info, loading, success, and warning.

Syntax

DISPLAYTOAST.<MESSAGE_TYPE>("<MESSAGE_TEXT>")

Arguments

MESSAGE_TYPE - Select from ALERT, ERROR, INFO, LOADING, SUCCESS, WARNING.

MESSAGE_TEXT - Custom message to be displayed.

Example

DISPLAYTOAST.ALERT("The data in this report should not be edited")
DISPLAYTOAST.ERROR("Error fetching data")
DISPLAYTOAST.INFO("2024 Financial Statement - Inforiver")
DISPLAYTOAST.LOADING("Report load in progress")
DISPLAYTOAST.SUCCESS("Report load complete")
DISPLAYTOAST.WARNING("Sensitive data, meant for grade L5 and above only")

Last updated