Class RangeAbstract

A slider to select a value from a range.

Attribute

disabled - Whether the range is disabled. When disabled, the slider value cannot be changed, and the slider thumb is hidden.

Hierarchy

Constructors

Properties

_pointerEl: HTMLElement
activeVideoQuality?: VideoQuality
fullscreen?: boolean
playbackRate?: number
previewTime?: number
streamType?: StreamType
targetVideoQualities?: VideoQuality[]
theoplayerUiObservedProperties: (keyof StateReceiverPropertyMap)[]

The names of the properties this element will receive.

Accessors

  • get disabled(): boolean
  • Whether the range is disabled.

    When disabled, the slider value cannot be changed, and the slider thumb is hidden.

    Returns boolean

  • set disabled(disabled): void
  • Parameters

    • disabled: boolean

    Returns void

  • get step(): number | "any"
  • The granularity at which the value can change.

    If set to "any", the value can change with arbitrary precision.

    Returns number | "any"

  • set step(step): void
  • Parameters

    • step: number | "any"

    Returns void

Methods

  • Parameters

    • attrName: string
    • oldValue: any
    • newValue: any

    Returns void

  • The value for the aria-label attribute of the <input type="range"> element.

    Returns string

  • The value for the aria-valuetext attribute of the <input type="range"> element.

    Returns string

Generated using TypeDoc