value

abstract fun value(v: Double?, origin: Origin = Origin.User)

Set the numeric value.

Updates the underlying component value, re-validates dependents, and re-evaluates conditional visibility. Passing Origin.Sdk (or any origin where notify == false) suppresses change notifications.

Parameters

v

New numeric value, or null to clear.

origin

Source of the change; controls whether listeners are notified.


open fun value(v: Number?)

Convenience overload to accept any Number type.