angular-rangeslider-directive

WebJar for angular-rangeslider-directive

License

License

MIT
Categories

Categories

IDE Development Tools Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-rangeslider-directive
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

angular-rangeslider-directive
WebJar for angular-rangeslider-directive
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/supertorio/angular-rangeslider-directive

Download angular-rangeslider-directive

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-rangeslider-directive/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-rangeslider-directive</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-rangeslider-directive/
implementation 'org.webjars.bower:angular-rangeslider-directive:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-rangeslider-directive/
implementation ("org.webjars.bower:angular-rangeslider-directive:0.0.2")
'org.webjars.bower:angular-rangeslider-directive:jar:0.0.2'
<dependency org="org.webjars.bower" name="angular-rangeslider-directive" rev="0.0.2">
  <artifact name="angular-rangeslider-directive" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-rangeslider-directive', version='0.0.2')
)
libraryDependencies += "org.webjars.bower" % "angular-rangeslider-directive" % "0.0.2"
[org.webjars.bower/angular-rangeslider-directive "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.2.0,1.3)

Project Modules

There are no modules declared in this project.

angular-rangeslider-directive

Styleable Range Slider Control directive for Angular with no jQuery or browser dependencies. Does not use the input range type. Allows for binding to model data.

Usage

angular
    .module('app', ['angularRangeSlider'])
    .controller('AppController', function($scope) {
        $scope.sliderValue = 200;
        $scope.lowerValue = 400;
        $scope.upperValue = 600;
    });

Single Item Example:

<p>Value: {{sliderValue}}</p>
<div range-slider
     floor="100"
     ceiling="1000"
     step="50"
     precision="2"
     highlight="left"
     ng-model="sliderValue"></div>

Range:

<p>Lower Value: {{lowerValue}}</p>
<p>Value 2: {{upperValue}}</p>
<div range-slider
     floor="100"
     ceiling="1000"
     dragstop="true"
     ng-model-low="lowerValue"
     ng-model-high="upperValue"></div>

Properties:

  • floor {number} Minimum Value for Slider
  • ceiling {number} Maximum Value for Slider
  • step {number} Value between steps in snapping on the scale
  • highlight {string} Left, Right, or false for single handle selectors, true or false for range selectors
  • precision {number} Maximum Value for Slider
  • dragstop {boolean} True will not update bound model data until mouse up
  • ngModel {number} Bound value for a single handle slider
  • ngModelLow {number} Bound value for lower limit of range selection
  • ngModelHigh {number} Bound value for upper limit of range selection
  • disabled {boolean} Bound value for disable element

License: MIT

Versions

Version
0.0.2