Penambahan FrontEnd All-New-Manufacture
This commit is contained in:
49
public/js/plugins-init/bootstrap-touchpin-init.js
vendored
Normal file
49
public/js/plugins-init/bootstrap-touchpin-init.js
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
$("input[name='demo0']").TouchSpin()
|
||||
|
||||
$("input[name='demo1']").TouchSpin({
|
||||
min: 0,
|
||||
max: 100,
|
||||
step: .1,
|
||||
decimals: 2,
|
||||
boostat: 5,
|
||||
maxboostedstep: 10,
|
||||
postfix: "%"
|
||||
})
|
||||
|
||||
$("input[name='demo2']").TouchSpin({
|
||||
min: -1e9,
|
||||
max: 1e9,
|
||||
stepinterval: 50,
|
||||
maxboostedstep: 1e7,
|
||||
prefix: "$"
|
||||
})
|
||||
|
||||
$("input[name='demo_vertical']").TouchSpin({
|
||||
verticalbuttons: !0
|
||||
})
|
||||
|
||||
$("input[name='demo_vertical2']").TouchSpin({
|
||||
verticalbuttons: !0,
|
||||
verticalupclass: "fa fa-plus",
|
||||
verticaldownclass: "fa fa-minus"
|
||||
})
|
||||
|
||||
$("input[name='demo4']").TouchSpin({
|
||||
postfix: "a button",
|
||||
postfix_extraclass: "btn btn-default"
|
||||
})
|
||||
|
||||
$("input[name='demo4_2']").TouchSpin({
|
||||
postfix: "a button",
|
||||
postfix_extraclass: "btn btn-default"
|
||||
})
|
||||
|
||||
$("input[name='demo5']").TouchSpin({
|
||||
prefix: "pre",
|
||||
postfix: "post"
|
||||
})
|
||||
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user