Skip to content

sulmanen/angular-eyecon-bootstrap-slider

Repository files navigation

ecSlider

Build Status directive for eyecon bootstrap slider

Include the file and import the angular ecSlider angular module.

bower install angular-eyecon-bootstrap-slider --save
angular.module('myModule', ['ecSlider']);
        <ec-slider ng-model="myCtrl.val" // value
                   config="myCtrl.sliderConfig" // jquery plugin config object
                   ng-change="callMeOnChange" // optional change callback
                   ng-disabled="myCtrl.disableIfTrue"> // disable when true
        </ec-slider>

The config options are those passed directly to the slider jquery plugin. The directive will re-init if the config changes.

Destruction of scope will call slider('destroy').

About

Tested angular directive for the eyecon bootstrap slider.

Resources

Stars

Watchers

Forks

Packages

No packages published