Documentation / @zerotal/flow / index / FlashFrame
Interface: FlashFrame
Defined in: flow/src/types.ts:219
Flash notification frame.
Extends
Properties
message
message:
string
Defined in: flow/src/types.ts:195
Inherited from
level
level:
"error"|"success"|"warning"|"info"
Defined in: flow/src/types.ts:196
Inherited from
title?
optionaltitle?:string
Defined in: flow/src/types.ts:198
Bold header rendered above the message.
Inherited from
position?
optionalposition?:FlashPosition
Defined in: flow/src/types.ts:200
Override the <Flash> container position for this toast.
Inherited from
duration?
optionalduration?:number
Defined in: flow/src/types.ts:202
Auto-dismiss after N ms. 0 (or negative) keeps it until dismissed.
Inherited from
dismissible?
optionaldismissible?:boolean
Defined in: flow/src/types.ts:204
Render a close (×) button. Forced on when the toast doesn't auto-dismiss.
Inherited from
icon?
optionalicon?:string|false
Defined in: flow/src/types.ts:206
Custom icon (emoji/text), or false to hide the status icon.
Inherited from
progressBar?
optionalprogressBar?:boolean
Defined in: flow/src/types.ts:208
Show a countdown progress bar (only meaningful while auto-dismissing).
Inherited from
actions?
optionalactions?:FlashAction[]
Defined in: flow/src/types.ts:210
Action buttons (e.g. "Undo") that each invoke a @expose method on click.
Inherited from
onClose?
optionalonClose?:FlashCallback
Defined in: flow/src/types.ts:212
A @expose method invoked when the toast is dismissed (any path).
Inherited from
type
type:
"flash"
Defined in: flow/src/types.ts:220