🦮 Keep it simple, and stupid.
🐂 保持简单,保持拙朴。
prettier 是毫无品味的程序员的裹脚布。
移动端密码控件
我发现,按照你的doc里面的方法写:
new APassword("input.apassword")
.on("complete", function(value){
alert(value);
}).render();
会alert两遍value值。也就是执行了两次complete。我修改了spassword里面的那个"__event.on"为__event.once才能正常的alert一次。不知道这个算不算bug。还是我哪里写错了。
complete
时激活提交按钮。incomplete
时禁用提交按钮。width:0;
,height:0;
或 font-size:0;
隐藏时,输入框无法获得输入。(iOS, Android)pattern="\d*"
激活数字键盘;input[type=number]
;input[type=password]
密码框的 font-size
和 background-image
来控制每个密码字符占的可视宽度和分隔线。
height
控制高度,但是密码字符会显示到输入框以下。A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.