Logo FS-Skia-UI

Icon Module

Builders for the `Icon` control — a glyph chosen from the icon set by name.

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 an `Icon` from its attributes; pair with `Icon.name` to choose the glyph. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring path.

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

name arg1

Full Usage: name arg1

Parameters:
    arg0 : string

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

Select which glyph an `Icon` shows (`Attr` carrying the icon-set name to look up).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.