ic enter press 指令 - Julienedies/brick GitHub Wiki
##使用
<input type="text" placeholder="name" ic-enter-press="checkName" />
<input type="text" placeholder="password" ic-enter-press="checkPass" />
查看example
##相关选项
- ic-enter-press #为所属dom元素添加回车键按下回调函数;
##相关dom元素选项 无。
##js接口
$('[ic-enter-press=a]').icEnterPress(function(){
//to do something
});
##事件 无。
##样式 无。