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
405fabcd
Commit
405fabcd
authored
Nov 29, 2015
by
Valentin Hervieu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update demo from master
parent
71766dda
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
284 additions
and
191 deletions
+284
-191
demo.css
demo.css
+7
-0
demo.js
demo.js
+60
-0
index.html
index.html
+217
-191
No files found.
demo.css
View file @
405fabcd
...
...
@@ -11,3 +11,10 @@ article { margin-bottom: 10px; }
.field-title
{
width
:
100px
;
}
.vertical-sliders
{
margin
:
0
;
}
.vertical-sliders
>
div
{
height
:
250px
;
}
demo.js
View file @
405fabcd
...
...
@@ -118,6 +118,66 @@ app.controller('MainCtrl', function($scope, $rootScope, $timeout, $modal) {
}
};
//Vertical sliders
$scope
.
verticalSlider1
=
{
value
:
0
,
options
:
{
floor
:
0
,
ceil
:
10
,
vertical
:
true
}
};
$scope
.
verticalSlider2
=
{
minValue
:
20
,
maxValue
:
80
,
options
:
{
floor
:
0
,
ceil
:
100
,
vertical
:
true
}
};
$scope
.
verticalSlider3
=
{
value
:
5
,
options
:
{
floor
:
0
,
ceil
:
10
,
vertical
:
true
,
showTicks
:
true
}
};
$scope
.
verticalSlider4
=
{
minValue
:
1
,
maxValue
:
5
,
options
:
{
floor
:
0
,
ceil
:
6
,
vertical
:
true
,
showTicksValues
:
true
}
};
$scope
.
verticalSlider5
=
{
value
:
50
,
options
:
{
floor
:
0
,
ceil
:
100
,
vertical
:
true
,
showSelectionBar
:
true
}
};
$scope
.
verticalSlider6
=
{
value
:
6
,
options
:
{
floor
:
0
,
ceil
:
6
,
vertical
:
true
,
showSelectionBar
:
true
,
showTicksValues
:
true
,
ticksValuesTooltip
:
function
(
v
)
{
return
'Tooltip for '
+
v
;
}
}
};
//Read-only slider
$scope
.
read_only_slider
=
{
value
:
50
,
...
...
index.html
View file @
405fabcd
This diff is collapsed.
Click to expand it.
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