Toast.createDom() method
Creates the DOM representation of a toast.
Signature:
protected static createDom(workspace: WorkspaceSvg, options: ToastOptions): HTMLDivElement;
Parameters
Parameter | Type | Description |
|---|---|---|
workspace | The workspace to inject the toast notification onto. | |
options | Configuration options for the toast. |
Returns:
HTMLDivElement
The root DOM element of the toast.