State
data class State(progress: Progress, movementTracking: Boolean, interactive: Boolean)
Content copied to clipboard
This class acts as central UI model for the StateStore and SliderComponent.
See also
dev.fritz2.components.slider.StateStore
Parameters
progress
backups the pure values of a slider managed by Progress
movementTracking
this flag signals the current state of movement, that is whether some sliding action takes place currently. This is important for providing a dedicated event that also offers value changes during the sliding actions and not only for the final reached value.
interactive
shows whether the slider is enabled or in disabled / readonly mode. If `false` no user action (mouse clicking, dragging or keys) will modify the value.