develop
Last change
on this file since 796e7ac was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added departments, edited users and added user settings
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[194a359] | 1 | 'use strict';
|
---|
| 2 | $(document).ready(function () {
|
---|
| 3 |
|
---|
| 4 | $("#demo_1").ionRangeSlider({
|
---|
| 5 | min: 100,
|
---|
| 6 | max: 1000,
|
---|
| 7 | from: 550,
|
---|
| 8 | skin: "round"
|
---|
| 9 | });
|
---|
| 10 |
|
---|
| 11 | $("#demo_2").ionRangeSlider({
|
---|
| 12 | type: "double",
|
---|
| 13 | grid: true,
|
---|
| 14 | min: 0,
|
---|
| 15 | max: 1000,
|
---|
| 16 | from: 200,
|
---|
| 17 | to: 800,
|
---|
| 18 | prefix: "$",
|
---|
| 19 | skin: "round"
|
---|
| 20 | });
|
---|
| 21 |
|
---|
| 22 | $("#demo_3").ionRangeSlider({
|
---|
| 23 | type: "double",
|
---|
| 24 | grid: true,
|
---|
| 25 | min: -1000,
|
---|
| 26 | max: 1000,
|
---|
| 27 | from: -500,
|
---|
| 28 | to: 500,
|
---|
| 29 | step: 250,
|
---|
| 30 | skin: "round"
|
---|
| 31 | });
|
---|
| 32 |
|
---|
| 33 | $("#demo_4").ionRangeSlider({
|
---|
| 34 | type: "double",
|
---|
| 35 | grid: true,
|
---|
| 36 | min: -12.8,
|
---|
| 37 | max: 12.8,
|
---|
| 38 | from: -3.2,
|
---|
| 39 | to: 3.2,
|
---|
| 40 | step: 0.1,
|
---|
| 41 | skin: "round"
|
---|
| 42 | });
|
---|
| 43 |
|
---|
| 44 | $("#demo_5").ionRangeSlider({
|
---|
| 45 | grid: true,
|
---|
| 46 | from: new Date().getMonth(),
|
---|
| 47 | values: [
|
---|
| 48 | "Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
---|
| 49 | "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
---|
| 50 | ],
|
---|
| 51 | skin: "round"
|
---|
| 52 | });
|
---|
| 53 |
|
---|
| 54 | $("#demo_6").ionRangeSlider({
|
---|
| 55 | min: 0,
|
---|
| 56 | max: 10000,
|
---|
| 57 | from: 777,
|
---|
| 58 | step: 1, // default 1 (set step)
|
---|
| 59 | grid: true, // default false (enable grid)
|
---|
| 60 | grid_num: 4, // default 4 (set number of grid cells)
|
---|
| 61 | grid_snap: false, // default false (snap grid to step)
|
---|
| 62 | skin: "round"
|
---|
| 63 | });
|
---|
| 64 |
|
---|
| 65 |
|
---|
| 66 | }); |
---|
Note:
See
TracBrowser
for help on using the repository browser.