Logo FS-Skia-UI

Label Module

Builders for the `Label` control — a short, single-line caption, typically naming an adjacent field.

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 `Label` from its attributes; pair with `Label.text` for the caption. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring 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 caption text of a `Label` (`Attr` carrying the single-line string to display).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.