2e86c939
xu
“首次提交”
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# numeric extensions
## Aliases
- numeric
- currency
- decimal
- integer
- percentage
## Options
### digits
Number of fractionalDigits
Default: "*"
The value can be a number, *, or a quantifier syntax like 2,4
When the quantifier syntax is used, the digitsOptional option is ignored
### digitsOptional
Specify wheter the digits are optional.
Default: true
### enforceDigitsOnBlur
Enforces the decimal part when leaving the input field.
### groupSize
Define the grouping of the integer part.
Default: 3
### autoGroup
Enable grouping of the integer part.
Default: false
### allowMinus
Allow to enter -.
Default: true
### negationSymbol
Define your negationSymbol.
Default: {
front: "-", //"("
back: "" //")"
}
### integerDigits
Number of integerDigits
Default: "+"
### integerOptional
Specify wheter the integerdigits are optional.
Default: true
### prefix
Define a prefix.
Default: ""
### suffix
Define a suffix.
Default: ""
### decimalProtect
Do not allow assumption of decimals input without entering the radixpoint.
Default: true
### min
Minimum value
Default: undefined
### max
Maximum value
Default: undefined
### step
Define the step the ctrl-up & ctrl-down must take.
Default: 1
### unmaskAsNumber
Make unmasking returning a number instead of a string.
Default: false
Be warned that using the unmaskAsNumber option together with jQuery.serialize will fail as serialize expects a string. (See issue [#1288])
[#1288]: https://github.com/RobinHerbots/jquery.inputmask/issues/1288
|