mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-30 16:36:46 +00:00
Add swipe,tap and press widget to hammerjs (#3214)
* Create swipe.js * add swipe widget * add popup handling * velocity mini-tweak * add press widget * add tap widget * remove popup from tap widget - not possible as it seems * add pan widget + utility css * correcting field name * naming and formatting * add usage * add pinch widget * add pinch widget * various small fixes * adding absolute coordinates to pan widget * prevent default dragging for pan widget * improve pan widget stability
This commit is contained in:
committed by
Jeremy Ruston
parent
df809bcb87
commit
8bf7dd7172
@@ -15,6 +15,41 @@
|
||||
"type": "text/plain",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/license"
|
||||
}
|
||||
}
|
||||
},{
|
||||
"file": "widgets/swipe.js",
|
||||
"fields": {
|
||||
"type": "application/javascript",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/widgets/swipe.js",
|
||||
"module-type": "widget"
|
||||
}
|
||||
},{
|
||||
"file": "widgets/press.js",
|
||||
"fields": {
|
||||
"type": "application/javascript",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/widgets/press.js",
|
||||
"module-type": "widget"
|
||||
}
|
||||
},{
|
||||
"file": "widgets/tap.js",
|
||||
"fields": {
|
||||
"type": "application/javascript",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/widgets/tap.js",
|
||||
"module-type": "widget"
|
||||
}
|
||||
},{
|
||||
"file": "widgets/pan.js",
|
||||
"fields": {
|
||||
"type": "application/javascript",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/widgets/pan.js",
|
||||
"module-type": "widget"
|
||||
}
|
||||
},{
|
||||
"file": "widgets/pinch.js",
|
||||
"fields": {
|
||||
"type": "application/javascript",
|
||||
"title": "$:/plugins/tiddlywiki/hammerjs/widgets/pinch.js",
|
||||
"module-type": "widget"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user