ajlkn / jquery.touch Goto Github PK
View Code? Open in Web Editor NEWAdds touch gesture events to jQuery
Adds touch gesture events to jQuery
Hi,
in Chrome 32.0.1700.107 m
demo is not working...
http://dl.dropboxusercontent.com/u/2774677/touch/demo/trackpad.html
When i use
$('.fancybox-wrap').enableTouch({});
this block with 100% width and height disable my zoom in/out function. Is not right and how i can again enable it? Because i want this area zoom in and enable the touch functions. But simulate the zoom in with multiply touchs function to hard. Cant understand why just it disabled... Nice function =)
jQuery 1 and 2 work fine, but with jQuery 3 I get the error:
Uncaught TypeError: n.hasOwnProperty is not a function
at t.uses (jquery.touch.min.js:2)
at t.doMove (jquery.touch.min.js:2)
at HTMLDivElement.u (jquery.touch.min.js:2)
at HTMLDivElement.dispatch (jquery-3.5.0.min.js:2)
at HTMLDivElement.v.handle (jquery-3.5.0.min.js:2)
using the enableTouch
method for every instance is more hassle than necessary. it makes event delegation impossible.
Hi,
"Object does not support this property or method."
jquery.touch.min.js, line 6 character 142.
npm install would be nice !! :)
U use the offset property of element, but the document element offset = undefined. So I get errors whe make $(document).enableTouch({useMouse: true});
it's much easier to download :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.