MdSlider

open class MdSlider(disabled: Boolean = false, min: Number = 0, max: Number = 100, value: Number? = null, step: Number = 1, valueLabel: String? = null, ticks: Boolean = false, labeled: Boolean = false, name: String? = null, className: String? = null, init: MdSlider.() -> Unit? = null) : MdBaseSlider<Number>

Sliders allow users to make selections from a range of values.. They're ideal for adjusting settings such as volume and brightness, or for applying image filters.

Sliders can use icons or labels to represent a numeric or relative scale.

See https://material-web.dev/components/slider/

Author

Maanrifa Bacar Ali

Constructors

Link copied to clipboard
constructor(disabled: Boolean = false, min: Number = 0, max: Number = 100, value: Number? = null, step: Number = 1, valueLabel: String? = null, ticks: Boolean = false, labeled: Boolean = false, name: String? = null, className: String? = null, init: MdSlider.() -> Unit? = null)

Properties

Link copied to clipboard
var disabled: <Error class: unknown class>

Whether or not the widget is disabled.

Link copied to clipboard
val form: <Error class: unknown class>?

The associated form element with which this element's value will submit.

Link copied to clipboard
var labeled: <Error class: unknown class>

Whether or not to show a value label when activated.

Link copied to clipboard
val labels: <Error class: unknown class>?

The labels this element is associated with.

Link copied to clipboard
var max: <Error class: unknown class>

The slider maximum value

Link copied to clipboard
var min: <Error class: unknown class>

The slider minimum value

Link copied to clipboard
var name: <Error class: unknown class>

The name to use in form submission.

Link copied to clipboard
open var parent: <Error class: unknown class>?
Link copied to clipboard
open override val range: Boolean

Whether or not to show a value range.

Link copied to clipboard
var step: <Error class: unknown class>

The step between values.

Link copied to clipboard
var ticks: <Error class: unknown class>

Whether or not to show tick marks.

Link copied to clipboard
var value: <Error class: unknown class>

The value that is submitted to the form.

Link copied to clipboard
var valueLabel: <Error class: unknown class>

An optional label for the slider's value. If not set, the label is the value itself.

Functions

Link copied to clipboard
open override fun buildAttributeSet(attributeSetBuilder: <Error class: unknown class>)
Link copied to clipboard
open fun dispose()
Link copied to clipboard
open fun render(): <Error class: unknown class>