blockly > Toast

Toast class

Class that allows for showing and dismissing temporary notifications.

Signature:

export declare class Toast 

Methods

Method Modifiers Description
createDom(workspace, options)

protected

static

Creates the DOM representation of a toast.
hide(workspace, id) static Dismiss a toast, e.g. in response to a user action.
show(workspace, options) static Shows a toast notification.