RichText Module
Builders for styled rich-text `RichTextRun`/`RichTextBlock` values and their lowering to a `Control`.
Functions and values
| Function or value |
Description
|
|
Assembles a `RichTextBlock` from an ordered list of `runs`.
|
Full Usage:
create block arg2
Parameters:
RichTextBlock
arg1 : Attr<'msg> list
Returns: Control<'msg>
Type parameters: 'msg |
Lowers a `RichTextBlock` and its `Attr` list into a renderable `Control`.
|
|
Returns the baseline `RichTextStyle` derived from the supplied `Theme`.
|
|
Computes the `RichTextMeasurement` (width, height, line count) for `block`.
|
|
Builds a `RichTextRun` pairing `text` with a `style`.
|