ソースを参照

update readme

Robin Herbots 11 年 前
コミット
3ad91a90fa
1 ファイル変更21 行追加3 行削除
  1. 21 3
      README.md

+ 21 - 3
README.md

@@ -42,9 +42,10 @@ Define your masks:
 
 
 ```javascript
 ```javascript
 $(document).ready(function(){
 $(document).ready(function(){
-   $("#date").inputmask("d/m/y");  //direct mask
-   $("#phone").inputmask("mask", {"mask": "(999) 999-9999"}); //specifying fn & options
-   $("#tin").inputmask({"mask": "99-9999999"}); //specifying options only
+   $(selector).inputmask("99-9999999");  //direct mask
+   $(selector).inputmask("mask", {"mask": "(999) 999-9999"}); //specifying fn & options
+   $(selector).inputmask({"mask": "99-9999999"}); //specifying options only
+   $(selector).inputmask("9-a{1,3}9{1,3}"); //direct mask with dynamic syntax 
 });
 });
 ```
 ```
 
 
@@ -70,6 +71,23 @@ $(document).ready(function(){
 There are more definitions defined within the extensions.  
 There are more definitions defined within the extensions.  
 You can find info within the js-files or by further exploring the options.
 You can find info within the js-files or by further exploring the options.
 
 
+## Masking types
+### Basic masks
+
+TODO
+
+### Optional masks
+
+TODO
+
+### Dynamic masks
+
+TODO
+
+### Multi masks
+
+TODO
+
 ## Options:
 ## Options:
 
 
 ### change the placeholder
 ### change the placeholder