【文件属性】:
文件名称:brahma.touch:支持 dom 元素的触摸事件
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-20 02:00:41
JavaScript
梵天之触
支持 dom 元素的触摸事件
用法
Brahma ( '#myelement' ) . app ( 'touch' )
. bind ( 'wipeLeft' , function ( ) {
console . log ( 'Wipe left!' ) ;
} )
. bind ( 'wipeRight' , function ( ) {
console . log ( 'Wipe right!' ) ;
} )
. bind ( 'wipeUp' , function ( ) {
console . log ( 'Wipe up!' ) ;
} )
. bind ( 'wipeDown' , function ( ) {
console . log ( 'Wipe down!' ) ;
} )
. bind ( 'wipe' , function ( e )
【文件预览】:
brahma.touch-master
----README.md(491B)
----bower.json(451B)
----dist()
--------brahma.touch.js(3KB)