Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
I
i20rzslider
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jedife
i20rzslider
Commits
3a65e308
Commit
3a65e308
authored
Jan 31, 2016
by
Valentin Hervieu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update demo site with noSwitching option
parent
c650cf2a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
demo.js
demo.js
+12
-0
index.html
index.html
+10
-0
noSwitchingSlider.js
snippets/noSwitchingSlider.js
+10
-0
No files found.
demo.js
View file @
3a65e308
...
...
@@ -38,6 +38,18 @@ app.controller('MainCtrl', function ($scope, $rootScope, $timeout, $modal) {
}
};
//Range slider with noSwitching config
$scope
.
noSwitchingSlider
=
{
minValue
:
10
,
maxValue
:
90
,
options
:
{
floor
:
0
,
ceil
:
100
,
step
:
1
,
noSwitching
:
true
}
};
//Slider with selection bar
$scope
.
slider_visible_bar
=
{
value
:
10
,
...
...
index.html
View file @
3a65e308
...
...
@@ -71,6 +71,16 @@
<show-code
js-file=
"minRangeSlider"
html-file=
"rangeSlider"
></show-code>
</article>
<article>
<h2>
Range slider with noSwitching=true
</h2>
<rzslider
rz-slider-model=
"noSwitchingSlider.minValue"
rz-slider-high=
"noSwitchingSlider.maxValue"
rz-slider-options=
"noSwitchingSlider.options"
></rzslider>
<show-code
js-file=
"noSwitchingSlider"
html-file=
"rangeSlider"
></show-code>
</article>
<article>
<h2>
Slider with visible selection bar
</h2>
<rzslider
...
...
snippets/noSwitchingSlider.js
0 → 100644
View file @
3a65e308
$scope
.
slider
=
{
minValue
:
10
,
maxValue
:
90
,
options
:
{
floor
:
0
,
ceil
:
100
,
step
:
1
,
noSwitching
:
true
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment