Package dev.fritz2.components.slider

Types

Link copied to clipboard
data class Progress(val percent: Int = 0, val value: Int = 0)

Foundation class of the slider data handling that bundles the value and its percentage.

Link copied to clipboard
data class Range(    val lower: Int = 0,     val upper: Int = 100,     val step: Int = 1)

This data class models the range of the value a slider can handle.

Link copied to clipboard
open class SliderComponent(store: Store<Int>? = null) : Component<Div> , FormProperties, SeverityProperties, OrientationProperty, TooltipProperties

This component creates a slider.

Link copied to clipboard
data class State(    val progress: Progress = Progress(),     val movementTracking: Boolean = false,     val interactive: Boolean = true)

This class acts as central UI model for the StateStore and SliderComponent.