ui.stepper.js Test suite

Case Code Output Notes
$('#ns_0').stepper();

Defaults, settings:

min : 0, max : 10, step : 1, start : 0, decimals : 0, format : '', symbol : $

$('#ns_1').stepper({
	min:-100, 
	max:100, 
	step:10,
	start:-100
});

Negative value with custom step size and start position, settings:

min : -100, max : 100, step : 10, start : -100, decimals : 0, format : '', symbol : $

$('#ns_2').stepper({
	step:0.1, 
	decimals:1
});

Decimal value, settings:

min : 0, max : 10, step : 0.1, start : 0, decimals : 1, format : '', symbol : $

$('#ns_3').stepper({
	step:0.5, 
	format:'currency'
});

						

Currency value, settings:

min : 0, max : 10, step : 0.5, start : 0, decimals : 0, format : 'currency', symbol : $