h5tap
0.0.4 • Public • Published h5tap Tap event trigger of Moblie.
Smaller than smaller.
无他,就是小
使用方法
绑定事件 bind
<div>
<button cmd="save"><span>保存</span></button>
<button cmd="load"></button>
</div>
h5tap('div', '[cmd]', function (target) {
console.log(target.getAttribute('cmd'));
});
License
MIT © zswang
Package Sidebar
Install
Weekly Downloads