Rangeslider

From Documentation
Revision as of 23:43, 28 July 2020 by Jameschu (talk | contribs)

Rangeslider

 since 9.5.0

Required Settings

Attributes
Description
aria-label / aria-labelledby Name the Rangeslider. For more information about naming, please refer to Accessibility
data-ariaStartLabel Describe the the slider button (start).
data-ariaEndLabel Describe the the slider button (end).
data-largeStep-multiplier Describe the moving step of pressing PageUp/PageDown.

Keyboard Support

Key
Description
ArrowUp / ArrowDown Move the slider button.
ArrowLeft / ArrowRight Move the slider button.
Home / End Move the slider button to the minimum/maximum.
PageUp / PageDown Move the slider button in the large step.

Example

<zk xmlns:ca="client/attribute">
  <rangeslider ca:aria-label="range value" ca:data-ariaStartLabel="minimal range value"
      ca:data-ariaEndLabel="maximal range value"/>
</zk>