Logo FS-Skia-UI

TextBlock Module

Builders for the `TextBlock` control — a multi-line, wrapping run of body text.

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 `TextBlock` from its attributes; pair with `TextBlock.text` for the content. 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 displayed text of a `TextBlock` (`Attr` carrying the run of characters to lay out and wrap).

arg0 : string
Returns: Attr<'msg>

Type something to start searching.