【文件属性】:
文件名称:JSLite-touch:JSLite的touch.js
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-01 06:15:26
JavaScript
JSLite-touch
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"});
})
【文件预览】:
JSLite-touch-master
----test.html(963B)
----src()
--------JSLite.min.js(21KB)
--------touch.js(4KB)
----README.md(317B)