blockly > Toast > show

Toast.show() method

Shows a toast notification.

Signature:

static show(workspace: WorkspaceSvg, options: ToastOptions): void;

Parameters

Parameter Type Description
workspace WorkspaceSvg The workspace to show the toast on.
options ToastOptions Configuration options for the toast message, duration, etc.

Returns:

void