JSLite
JSLite copied to clipboard
JSLite-touch --- Tap的方法
Tap的使用方法
$("#ontouch").on("tap",function(){
alert("我是 .on(tap) 方式");
$(this).css({width:"200px",height:"100px",border:"1px red solid"});
})
$("#mytap").tap(function(){
alert("我是 .tap() 方式");
$(this).css({width:"300px",height:"30px",border:"1px blue solid"});
})
@singod 我在写单元测试。
@jaywcjlove 如果这个可以用的话你就收了吧
@singod 等研究到这个地方了,我如果可以用你的哦,其实喔建议你用 pull request ,这样你也是 JSLite 贡献者之一。