Slider Test Bed
Date - no overlap, fly theme, with start/end
Departure Time
isDate: true,
min: "2015-08-12T03:00",
max: "2015-08-12T23:59",
start: "2015-08-12T12:22",
end: "2015-08-12T16:21",
overlap: false
Date - with overlap, incorrect starting point
Departure Time
isDate: true,
min: "2014-01-01T00:00",
max: "2015-08-12T23:59",
start: "2014-08-01T00:00",
end: "2014-07-31T23:59",
overlap: true
Value - with overlap, fly theme, start/end
Flight Cost
isDate: false,
min: 0,
max: 365,
start: 100,
end: 200,
overlap: true
Value - one way then using all defaults but pushed to 100
Flight Cost
isOneWay: true,
start: 100
Value - two way and using all defaults
Flight Cost
isOneWay: false,
overlap: true
Value - use the callbackFunction option, to receive a generic callback function, and enable the develop to manipulate the numeric or date type of value during the sliding.
An example with a callback funtion
to format numeric value to standard USD format:
* thousand separators as commas
* and cents as decimals
*Benefit is that the develop would have maximum freedom
to manipulate the value of the Slider, by the developer's choice of code.
Total Trip Cost
callbackFunction: function(...) {...}