ソースを参照

Expanding documentation for other extensions

This is not extensively written but should make users aware of those options. Some of us won't read the source on the first attempt (myself included).
Jefferson Queiroz Venerando 10 年 前
コミット
b1dfa78082
1 ファイル変更31 行追加2 行削除
  1. 31 2
      README_other.md

+ 31 - 2
README_other.md

@@ -1,5 +1,16 @@
 ## other extensions
-An ip address alias for entering valid ip-addresses.
+
+### URL
+An URL mask for entering valid FTP, HTTP or HTTPS addresses.
+
+```javascript
+$(document).ready(function(){
+   $(selector).inputmask("url");
+});
+```
+
+### IP address
+An IP address alias for entering valid IP addresses.
 
 ```javascript
 $(document).ready(function(){
@@ -7,4 +18,22 @@ $(document).ready(function(){
 });
 ```
 
-You can find/modify/extend this alias in the jquery.inputmask.extensions.js
+### Email
+An email mask for entering valid email addresses.
+
+```javascript
+$(document).ready(function(){
+   $(selector).inputmask("email");
+});
+```
+
+### MAC
+An MAC mask for entering valid MAC addresses.
+
+```javascript
+$(document).ready(function(){
+   $(selector).inputmask("mac");
+});
+```
+
+You can find/modify/extend these alias in the jquery.inputmask.extensions.js