Logo FS-Skia-UI

NumericInput Module

Builders for the `NumericInput` control — a typed numeric field, typically with stepper affordances.

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

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

onChanged arg1

Full Usage: onChanged arg1

Parameters:
    arg0 : float -> 'msg

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

Emit a `'msg` carrying the edited `float` when a `NumericInput` value changes (`Attr.onChanged`).

arg0 : float -> 'msg
Returns: Attr<'msg>

value arg1

Full Usage: value arg1

Parameters:
    arg0 : float

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

Set the current number in a `NumericInput` (`Attr.value`; a controlled `float` driven from model state and reconciled via `onChanged`).

arg0 : float
Returns: Attr<'msg>

Type something to start searching.