Browse Source

add extra options as reminders of todo

Robin Herbots 12 years ago
parent
commit
8cfeb05257
1 changed files with 8 additions and 1 deletions
  1. 8 1
      js/jquery.inputmask.numeric.extensions.js

+ 8 - 1
js/jquery.inputmask.numeric.extensions.js

@@ -17,13 +17,20 @@ Optional extensions on the jquery.inputmask base
             greedy: false,
             greedy: false,
             numericInput: false,
             numericInput: false,
             isNumeric: true,
             isNumeric: true,
-            digits: "*", //numer of digits
+            digits: "*", //number of fractionalDigits
             groupSeparator: "",//",", // | "."
             groupSeparator: "",//",", // | "."
             radixPoint: ".",
             radixPoint: ".",
             groupSize: 3,
             groupSize: 3,
             autoGroup: false,
             autoGroup: false,
             allowPlus: true,
             allowPlus: true,
             allowMinus: true,
             allowMinus: true,
+            //todo
+            integerDigits: "*", //number of integerDigits
+            defaultValue: "",
+            prefix: "",
+            suffix: "",
+            
+            //todo
             getMaskLength: function (buffer, greedy, repeat, currentBuffer, opts) { //custom getMaskLength to take the groupSeparator into account
             getMaskLength: function (buffer, greedy, repeat, currentBuffer, opts) { //custom getMaskLength to take the groupSeparator into account
                 var calculatedLength = buffer.length;
                 var calculatedLength = buffer.length;