ソースを参照

Add info about integerDigits feature

I've not been able to find any documentation about the integerDigits feature: however it was mentioned in the issue tracker and so I was able to use it. 
I thought it could be a good idea to add an example here.
insac 10 年 前
コミット
f1b1e1b6b2
1 ファイル変更8 行追加0 行削除
  1. 8 0
      README_numeric.md

+ 8 - 0
README_numeric.md

@@ -24,6 +24,14 @@ $(document).ready(function(){
 });
 ```
 
+Define the number of digits before the radixpoint
+
+```javascript
+$(document).ready(function(){
+   $(selector).inputmask("decimal", { integerDigits: 5 });
+});
+```
+
 When TAB out of the input the digits autocomplate with 0 if the digits option is given a valid number.
 
 Grouping support through:  autoGroup, groupSeparator, groupSize