textCounter.js:jQuery插件,可在输入字段中提供文本倒计时

时间:2021-05-05 13:53:11
【文件属性】:
文件名称:textCounter.js:jQuery插件,可在输入字段中提供文本倒计时
文件大小:102KB
文件格式:ZIP
更新时间:2021-05-05 13:53:11
JavaScript textCounter.js TextCounter是一个jQuery插件,可在输入字段中提供文本倒计时。 受Twitter推算推文中剩余字符的方式启发,textCounter是一个可配置的jQuery插件,可以轻松地使任何人添加相同的功能。 考虑到最佳实践,textCounter提供了多个字符计数范围,通过CSS类的自定义颜色,甚至还可以防止用户超出字符计数限制。 例子 查看的简单 快速开始 克隆git仓库git clone https://github.com/commadelimited/textCounter.js.git或 用法和文档 $(function(){ $('#theCounter').textCounter({ target: '#myTextarea' // required: string }); }); $(function(){ $('#theCo
【文件预览】:
textCounter.js-master
----package.json(884B)
----src()
--------jquery.textCounter.js(1KB)
--------jquery.textCounter.css(211B)
----dist()
--------jquery.textCounter.js(1KB)
--------jquery.textCounter.min.js(814B)
----LICENSE-GPL(15KB)
----grunt.js(1KB)
----LICENSE-MIT(1KB)
----libs()
--------jquery()
--------qunit()
----README.md(2KB)
----index.html(2KB)
----test()
--------textCounter.html(914B)
--------textCounter.js(3KB)

网友评论