Toast Reference ↓

Types

Positions

Duration

Reference

Base

OptionValues
ui.toast(message, options)call to show a toast notification

Modifiers

OptionValues

Options

OptionValues
typesuccess, warning, danger, info, default
positiontop-left, top-center, top-right, bottom-left, bottom-center, bottom-right
durationms before auto-dismiss (0 = sticky, default 4000)
closeabletrue / false — show X button