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) {
//Slider config with steps array of letters
$scope.slider_alphabet = {
value: 0,
value: 'E',
options: {
stepsArray: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.split('')
}
......
......@@ -218,6 +218,7 @@
<article>
<h2>Slider with Alphabet</h2>
Current letter: {{ slider_alphabet.value }}
<rzslider
rz-slider-model="slider_alphabet.value"
rz-slider-options="slider_alphabet.options"
......
$scope.slider = {
value: 0,
value: 'E',
options: {
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