/ember-aria-slider

An accessible slider component in Ember

Primary LanguageJavaScriptMIT LicenseMIT

ember-aria-slider

Build Status Coverage Status npm version dependencies Status devDependencies Status EmberObserver

An Ember Slider addon based on WAI-ARIA Authoring practices. For more info, click here

Tutorial

There is also a tutorial available here to learn how to create this addon from scratch.

Demo

Demo

Compatibility

  • Ember.js v3.4 or above
  • Ember CLI v2.13 or above
  • Node.js v8 or above

Installation

Installation

  • ember install ember-aria-slider

Usage

Example Markup:

{{aria-slider
      minValue=0
      maxValue=255
      currentValue=50
    }}

Properties

minValue [ NUMBER ]

Minimum value for the slider

maxValue [ NUMBER ]

Minimum value for the slider

currentValue [ NUMBER ]

Current value for the slider

Class Diagram

Class Diagram

Component interface

Component Interface

Running

Running Tests

See the Contributing guide for details.

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.