mardi 14 novembre 2017

Angularjs RangeSlider and Checkbox

I found this example on Google.

Is there a way to start with following properties:

  $scope.slider_all_options = {
minValue: 0,
maxValue: 100,
options: {
  floor: 1,
  ceil: 100,
  step: 1,
  precision: 0,
}

};

Then change the minValue to 1 for the RangeSlider if the checkbox is checked and back to 0 when the Checkbox is unchecked? I cannot solve this problem at the moment.

Please take a look at my JSFiddle:

Here is my JSFiddle




Aucun commentaire:

Enregistrer un commentaire