Documentation / @zerotal/flow / index / FlashAction
Interface: FlashAction
Defined in: flow/src/types.ts:174
An interactive button inside a toast. method names a @expose action on the
component that emitted the flash; clicking the button invokes it over the WS
bridge (with optional args), then dismisses the toast.
Extends
Properties
color?
optionalcolor?:string
Defined in: flow/src/types.ts:161
Accent: a level name (success/error/warning/info), neutral, or any CSS color.
Inherited from
variant?
optionalvariant?:FlashActionVariant
Defined in: flow/src/types.ts:163
Fill style — soft (default), solid, or ghost.
Inherited from
uppercase?
optionaluppercase?:boolean
Defined in: flow/src/types.ts:165
Render the label uppercase (adds letter-spacing).
Inherited from
label
label:
string
Defined in: flow/src/types.ts:175
method
method:
string
Defined in: flow/src/types.ts:176
args?
optionalargs?:unknown[]
Defined in: flow/src/types.ts:177