ToastOptions
Defined in: src/core/toast.ts:12
Options for raising a toast via toast.show.
Properties
Section titled “Properties”duration?
Section titled “duration?”
optionalduration?:number
Defined in: src/core/toast.ts:20
Milliseconds before auto-dismiss; 0 keeps it until dismissed. Defaults per level.
level?
Section titled “level?”
optionallevel?:ToastLevel
Defined in: src/core/toast.ts:14
Severity, driving the icon and color. Defaults to generic.
message
Section titled “message”message:
string
Defined in: src/core/toast.ts:18
The body text.
title?
Section titled “title?”
optionaltitle?:string
Defined in: src/core/toast.ts:16
Optional bold heading shown above the message.