one correction

$scope.slider = {
  value: 0,
  maxValue: 3,
  options: {
    floor: 0,
    ceil: 3,

*    showTicks:true,*
    stepsArray: [ "Fair","Good", "Very Good","Excellent"]
  }

};

Angular version: 1.4.8


On Tuesday, April 5, 2016 at 5:40:51 PM UTC+5:30, Novin Jaiswal wrote:
>
> Hi,
>
> I have used rzslider of words in my project, the movement i 
> set showTicks=true it shows more ticks than expected.
>
> Here is the sample code
>
> // JS//
>
> $scope.slider = {
>   value: 0,
>   maxValue: 3,
>   options: {
>     floor: 0,
>     ceil: 3,
>
>     showTicks=true,
>     stepsArray: [ "Fair","Good", "Very Good","Excellent"]
>   }
>
> }; 
>
> //html//
>
> <rzslider rz-slider-model="slider.value"
>           rz-slider-high="slider.maxValue"
>           rz-slider-options="slider.options"></rzslider>
>
>
> rzslider version: angularjs-slider - v2.10.4 
>
> Angular version: 1.5.4
>
>
> attached the screen shot it shows 6 ticks I dont want the start tick and the 
> end tick. 
>
> I only want 4 ticks with lable's "Fair","Good", "Very Good","Excellent"
>
> If i remove showTicks=true the slider looks good but it doesn't show the all 
> the range label by default, it only show "Fair" and "Excellent" 
>
>
>
> Appreciate your help.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to