PageSourceSearch

https://springfieldyellowcab.com/wp-content/plugins/limolabs-icabbi/js/directives/slider.js?ver=0.2.83

js springfieldyellowcab.com collected 2026-10-08 22:00:36 UTC 1,075 bytes, 35 lines download raw bytes

1LimoLabsIcabbiApp.directive("slider", function() {
2    return {
3        restrict : 'A',
4        scope : {
5            min : "=min",
6            max : "=max",
7            step : "=step",
8            value : "=ngModel",
9            initValue : "=initValue"
10        },
11        link : function(scope, elem, attrs) {
12            var slider = angular.element(elem);
13
14            scope.initValue = scope.initValue ? scope.initValue : scope.min;
15            scope.initValue = scope.value ? scope.value : scope.initValue;
16
17            slider.slider({
18                range : "min",
19                min : scope.min,
20                max : scope.max,
21                step : scope.step,
22                value : scope.initValue,
23                slide : function(event, ui) {
24                    scope.$apply(function() {
25                        scope.value = ui.value;
26                    });
27
28                    slider.find("a").text(ui.value);
29                }
30            });
31
32            slider.find("a").text(scope.initValue);
33        }
34    }
35});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.