Skip to main content

ToastType

The ToastType enumeration specifies the different types of toast notifications available.

NameValueDescription
ToastType_Info0Info toast.
ToastType_Success1Success toast.
ToastType_Warning2Warning toast.
ToastType_Error3Error toast.

Runtime Access

This enumeration is available at runtime on the MFiles global object. Access enum values using MFiles.ToastType.<value>.

Example:

const value = MFiles.ToastType.ToastType_Info;

See also: MFiles Global Object