// Example with postfix (large) $("input[name='demo1']").TouchSpin({ postfix: '%' });
// With prefix $("input[name='demo2']").TouchSpin({ prefix: '%', });
// Multiple select boxes $("input[name='demo_vertical']").TouchSpin({ verticalbuttons: true, });
// Vertical buttons with custom icons $("input[name='demo_vertical2']").TouchSpin({ verticalbuttons: true, verticalup: '<svg> ... </svg>', verticaldown: '<svg> ... </svg>', });
// Value attribute is not set (applying settings.initval) $("input[name='demo3_21']").TouchSpin({ initval: 40 });
// Button postfix $("input[name='demo4']").TouchSpin({ postfix: "Button", postfix_extraclass: "btn btn-outline-info", });
// Change button class $("input[name='demo6']").TouchSpin({ buttondown_class: "btn btn-classic btn-danger", buttonup_class: "btn btn-classic btn-success" });