Logo FS-Skia-UI

Toast Module

Builders for the `Toast` control — a brief, auto-dismissing notification banner.

Functions and values

Function or value Description

create arg1

Full Usage: create arg1

Parameters:
    arg0 : Attr<'msg> list

Returns: Control<'msg>
Type parameters: 'msg

Build a `Toast` notification from its attributes; pair with `Toast.text` for the message. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended path.

arg0 : Attr<'msg> list
Returns: Control<'msg>

text arg1

Full Usage: text arg1

Parameters:
    arg0 : string

Returns: Attr<'msg>
Type parameters: 'msg

Set the message a `Toast` displays (`Attr` carrying the short notification `string`).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.