raspberry-pi-absensi/assets/scripts/ion.rangeSlider.init.min.js

2 lines
1.6 KiB
JavaScript
Executable File

!function(e){"use strict";var a={};e(document).ready(function(){return e("#ion-range-01").length&&a["default"](),e("#ion-range-02").length&&a.minMax(),e("#ion-range-03").length&&a.prefix(),e("#ion-range-04").length&&a.negative(),e("#ion-range-05").length&&a.step(),e("#ion-range-06").length&&a.fractional(),e("#ion-range-07").length&&a.arrayNumber(),e("#ion-range-08").length&&a.arrayStringNumber(),e("#ion-range-09").length&&a.arrayStringMonth(),!1}),a={"default":function(){return e("#ion-range-01").ionRangeSlider(),!1},minMax:function(){return e("#ion-range-02").ionRangeSlider({min:100,max:1e3,from:550}),!1},prefix:function(){return e("#ion-range-03").ionRangeSlider({type:"double",grid:!0,min:0,max:1e3,from:200,to:800,prefix:"$"}),!1},negative:function(){return e("#ion-range-04").ionRangeSlider({type:"double",grid:!0,min:-1e3,max:1e3,from:-500,to:500}),!1},step:function(){return e("#ion-range-05").ionRangeSlider({type:"double",grid:!0,min:-1e3,max:1e3,from:-500,to:500,step:250}),!1},fractional:function(){return e("#ion-range-06").ionRangeSlider({type:"double",grid:!0,min:-12.8,max:12.8,from:-3.2,to:3.2,step:.1}),!1},arrayNumber:function(){return e("#ion-range-07").ionRangeSlider({type:"double",grid:!0,from:1,to:5,values:[0,10,100,1e3,1e4,1e5,1e6]}),!1},arrayStringNumber:function(){return e("#ion-range-08").ionRangeSlider({grid:!0,from:5,values:["zero","one","two","three","four","five","six","seven","eight","nine","ten"]}),!1},arrayStringMonth:function(){return e("#ion-range-09").ionRangeSlider({grid:!0,from:3,values:["January","February","March","April","May","June","July","August","September","October","November","December"]}),!1}}}(jQuery);