Commit 3ee9e243 authored by Valentin Hervieu's avatar Valentin Hervieu

4.0 release

parent c3bd5c4e
...@@ -225,7 +225,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) { ...@@ -225,7 +225,7 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
//Slider config with steps array of letters //Slider config with steps array of letters
$scope.slider_alphabet = { $scope.slider_alphabet = {
value: 0, value: 'E',
options: { options: {
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('') stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
} }
......
...@@ -218,6 +218,7 @@ ...@@ -218,6 +218,7 @@
<article> <article>
<h2>Slider with Alphabet</h2> <h2>Slider with Alphabet</h2>
Current letter: {{ slider_alphabet.value }}
<rzslider <rzslider
rz-slider-model="slider_alphabet.value" rz-slider-model="slider_alphabet.value"
rz-slider-options="slider_alphabet.options" rz-slider-options="slider_alphabet.options"
......
$scope.slider = { $scope.slider = {
value: 0, value: 'E',
options: { options: {
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('') // equals to ['A', 'B', ... 'Z'] stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('') // equals to ['A', 'B', ... 'Z']
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment