-
-
Notifications
You must be signed in to change notification settings - Fork 498
/
rzSliderTpl.html
44 lines (44 loc) · 2.01 KB
/
rzSliderTpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<div class="rzslider">
<!-- // 0 (left) Highlight outside two handles -->
<span class="rz-bar-wrapper rz-left-out-selection">
<span class=rz-bar></span>
</span>
<!-- // 1 (right) Highlight outside two handles -->
<span class="rz-bar-wrapper rz-right-out-selection">
<span class=rz-bar></span>
</span>
<!-- // 2 The slider bar -->
<span class="rz-bar-wrapper">
<span class="rz-bar"></span>
</span>
<!-- // 3 Highlight between two handles -->
<span class="rz-bar-wrapper">
<span class="rz-bar rz-selection" ng-style="barStyle"></span>
</span>
<!-- // 4 Restricted area -->
<span class="rz-bar-wrapper">
<span class="rz-bar rz-restricted" ng-style="restrictionStyle"></span>
</span>
<!-- // 5 Left slider handle -->
<span class="rz-pointer rz-pointer-min" ng-style=minPointerStyle></span>
<!-- // 6 Right slider handle -->
<span class="rz-pointer rz-pointer-max" ng-style=maxPointerStyle></span>
<!-- // 7 Floor label -->
<span class="rz-bubble rz-limit rz-floor"></span>
<!-- // 8 Ceiling label -->
<span class="rz-bubble rz-limit rz-ceil"></span>
<!-- // 9 Label above left slider handle -->
<span class="rz-bubble rz-model-value"></span>
<!-- // 10 Label above right slider handle -->
<span class="rz-bubble rz-model-high"></span>
<!-- // 11 Range label when the slider handles are close ex. 15 - 17 -->
<span class="rz-bubble"></span>
<!-- // 12 The ticks -->
<ul ng-show="showTicks" class="rz-ticks">
<li ng-repeat="t in ticks track by $index" class="rz-tick" ng-class="{'rz-selected': t.selected}" ng-style="t.style" ng-attr-uib-tooltip="{{ t.tooltip }}"
ng-attr-tooltip-placement="{{t.tooltipPlacement}}" ng-attr-tooltip-append-to-body="{{ t.tooltip ? true : undefined}}">
<span ng-if="t.value != null" class="rz-tick-value" ng-attr-uib-tooltip="{{ t.valueTooltip }}" ng-attr-tooltip-placement="{{t.valueTooltipPlacement}}">{{ t.value }}</span>
<span ng-if="t.legend != null" class="rz-tick-legend">{{ t.legend }}</span>
</li>
</ul>
</div>