Logo FS-Skia-UI

ProgressBar Module

Builders for the `ProgressBar` control — a horizontal fill showing completion of a task.

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 `ProgressBar` from its attributes; pair with `ProgressBar.value` for the fill. The typed `Props` front door (`FS.Skia.UI.Controls.Typed`) is the recommended authoring path.

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

value arg1

Full Usage: value arg1

Parameters:
    arg0 : float

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

Set the completion of a `ProgressBar` (`Attr.value`; a `float` fraction, 0 = empty through 1 = full).

arg0 : float
Returns: Attr<'msg>

Type something to start searching.