Skip to Content
API ReferenceFloatField

FloatField

A floating-point number input field. Maps to UIToolkit’s FloatField.

Constructor

FloatField

Creates an FloatField element.

ParameterDescription
valueThe current float value.
onChangedCallback invoked on every value change.
labelOptional label text shown beside the field.
keyAn optional key for reconciliation identity.

Properties

Label

An optional text label displayed alongside the field. Null means no label is shown.

OnChanged

Callback invoked whenever the value changes. Receives the new float value as its argument.

Value

The current float value.

Methods

ShouldRebuild

Last updated on