JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q19406F
  • License MIT

Range Slider component backed by jQueryTool's rangeinput

Package Exports

  • ember-cli-range-input

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cli-range-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ember-cli-range-input

Range slider input which uses jQuery Tools RangeInput library behind the scenes. This slider has custom styling.

screenshot

NPM
Build Status

Usage

ember install:addon ember-cli-range-input
{{range-input min=0 max=5 step=1 value=awesomeness}}

Awesomeness: {{awesomeness}}

Attributes

  • min - Defaults to 0
  • max - Defaults to 10
  • step - Defaults to 1
  • value - Defaults to min if falsy and not 0

Note: If using a decimal/float in any of the values, be sure to use a string, e.g. '0.05'.

Actions

{{range-input max=1 step='0.05' value=layer.opacity changed='layerOpacityUpdated'}}
  • changed - Takes the following signature function (currentValue, previousValue) {}

Contributing

If you'd like to submit a pull request or just run the latest code, this is how you do it.

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

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