slider
fun RenderContext.slider( styling: BasicParams.() -> Unit = {}, value: Store<Int>? = null, baseClass: StyleClass = StyleClass.None, id: String? = value?.id, prefix: String = "slider", build: SliderComponent.() -> Unit = {}): Div
Content copied to clipboard
This component generates a slider.
See also
Parameters
styling
a lambda expression for declaring the styling as fritz2's styling DSL
value
a store for holding the value of the slider
base Class
optional CSS class that should be applied to the element
id
the ID of the element
prefix
the prefix for the generated CSS class resulting in the form `$prefix-$hash`
build
a lambda expression for setting up the component itself. Details in SliderComponent
fun RenderContext.slider( styling: BasicParams.() -> Unit = {}, value: Int, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "slider", build: SliderComponent.() -> Unit = {}): Div
Content copied to clipboard
This component generates a slider.
See also
Parameters
styling
a lambda expression for declaring the styling as fritz2's styling DSL
value
an initial value
base Class
optional CSS class that should be applied to the element
id
the ID of the element
prefix
the prefix for the generated CSS class resulting in the form `$prefix-$hash`
build
a lambda expression for setting up the component itself. Details in SliderComponent