Comments (6)
Pinch and rotate are now done! 8d38cac
from tinygesture.
I'd say TinyGesture's main benefit over other libraries is that it really is ridiculously tiny. It's 2.4 KB minified and gzipped, and it supports all the common touch gestures except pinch.
from tinygesture.
@hperrin but "pinch" would it make perfect ;)
from tinygesture.
Yeah, you're right. It probably wouldn't take that much code too. Hmm...
from tinygesture.
@hperrin would be very great if you can integrate this .. this code here should be easy to implement
https://apex.oracle.com/pls/apex/vmorneau/r/pinch-and-zoom/pinch-and-zoom-js
from tinygesture.
Yes, I'd want to add rotate too, since calculating the angle would be really easy.
from tinygesture.
Related Issues (11)
- it does not work with touchpads HOT 3
- Disable gesture events in scrollable content
- Doubletap without Tap? HOT 2
- Can we use TinyGesture using CDN without npm for a native website using just js ? HOT 2
- The swipe up event triggers really hard in comparison to the swipe down one HOT 2
- Gestures trigger when they shouldn't.
- Math.obs => Math.abs HOT 1
- Detect number of touch points used HOT 3
- No swipe events with `diagonalSwipes: true` HOT 1
- Consider the multiple conditions update in sleepwalker?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinygesture.