Class ZetaSliderInputField

An input field using a Zeta Slider

ZetaSliderEvent:zeta-slider-change - Fired whenever value of slider is changed. Contains a single entry in detail: value:number.

Hierarchy

  • ContourableInterface<this> & LitElement<this>
    • ZetaSliderInputField

Other

  • Returns ZetaSliderInputField

disabled?: boolean

Disables the input field.

error: boolean = false

Error state.

input: HTMLInputElement
label?: string

The label displayed above the input.

max: number = 100

The maximum value of the slider input field.

min: number = 0

The minimum value of the slider input field.

name?: string

The name given to the input field.

rounded: boolean
stepIncrement?: number

If set, will put steps on the slider at the given increments and the slider will snap to the nearest step.

value?: number

The value of the input field.

styles: CSSResultGroup[] = ...

rendering

  • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

    Returns TemplateResult<1>