Skip to content

frontend-web-editor


Function: GetESToast() ​

GetESToast(type, message): Toast

Defined in: utils/treeUtils.ts:894

Create a toast with the given type and message

Parameters ​

type ​

type of toast (primary / warning / danger / success)

"warning" | "primary" | "success" | "danger"

message ​

string

toast message text

Returns ​

Toast