forked from angular-slider/angularjs-slider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
directiveInCustomTemplate.html
23 lines (23 loc) · 1.43 KB
/
directiveInCustomTemplate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="rzslider">
<span class="rz-bar-wrapper"><span class="rz-bar"></span></span>
<span class="rz-bar-wrapper">
<span class="rz-bar rz-selection" ng-style="barStyle"></span>
</span>
<span class="rz-pointer rz-pointer-min" ng-style=minPointerStyle></span>
<span class="rz-pointer rz-pointer-max" ng-style=maxPointerStyle></span>
<span class="rz-bubble rz-limit rz-floor no-label-injection">{{floorLabel}}</span>
<span class="rz-bubble rz-limit rz-ceil no-label-injection">{{ceilLabel}}</span>
<span class="rz-bubble no-label-injection"><clickable-label label="modelLabel" /></span>
<span class="rz-bubble no-label-injection"><clickable-label label="highLabel" /></span>
<span class="rz-bubble no-label-injection">
<clickable-label label="modelLabel"/>
-
<clickable-label label="highLabel"/>
</span>
<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>