Interface IDialogToastOptions

interface IDialogToastOptions {
    container?: HTMLElement;
    duration?: number;
    kind?: DialogToastKind;
}

Properties

container?: HTMLElement

The element to show it in, like the container of a canvas. Default: the page.

duration?: number

How long the toast stays, in ms. 0 keeps it until a click. Default: 4000, an error twice that.

A message (default), a warning or an error