https://github.com/ccforward/inputfilter
输入过滤组件
https://github.com/ccforward/inputfilter
Last synced: about 1 year ago
JSON representation
输入过滤组件
- Host: GitHub
- URL: https://github.com/ccforward/inputfilter
- Owner: ccforward
- Created: 2013-10-23T09:50:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-23T11:26:54.000Z (over 12 years ago)
- Last Synced: 2025-01-30T15:41:40.421Z (over 1 year ago)
- Language: JavaScript
- Size: 78.1 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## inputFilter
* inputFilter是一个过滤输入的组件,不需要的字符不能输入。
* 版本:1.0
* 教程:[http://gallery.kissyui.com/inputFilter/1.0/guide/index.html](http://gallery.kissyui.com/inputFilter/1.0/guide/index.html)
* demo:[http://gallery.kissyui.com/inputFilter/1.0/demo/index.html](http://gallery.kissyui.com/inputFilter/1.0/demo/index.html)
## 初始化组件
S.use('gallery/inputFilter/1.0/index', function (S, InputFilter) {
new inputFilter('#input1', {
keydown: true,
disable: ['all'],
enable: ['numbers']
});
})