Comments (2)
Good find. Can you please do the changes and send me a PR?
On Monday, April 11, 2016, t4ss5t [email protected] wrote:
Unfortunally, in Hammer.js 2.0 the release event is no longer available.
This is already bad enough, but at the moment it is not possible to use the
alternative pressup event with angular-gestures.There is a workaround to use the pressup-event to recognize release
events. The problem is, that the behaviour is not exact like it was before
when the "real" release was supported. So it could be problematically to
map the release event to pressup, maybe it is better to remove the release
directive and add a new one named pressup.However, to support the old release event and provide the new pressup
event as angular-gestures features, the two mapping objects HGESTURES and
HRECOGNIZERS has to be extended like this:HGESTURES:
hmPressUp: 'pressup'
hmRelease: 'pressup'HRECOGNIZERS:
hmPressUp: [Hammer.Press, 'Hammer.Press']
hmRelease: [Hammer.Press, 'Hammer.Press']—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#48
- Patrick
(Mobile)
from angular-gestures.
resolved with 2436553
from angular-gestures.
Related Issues (20)
- Error when apply angular-gestures HOT 1
- Can't use 0.3.0 HOT 4
- Demo doesn't work ? HOT 2
- Disable logs by default HOT 1
- Double Tap HOT 8
- Support for press?
- Anything broken or problem with the doc? HOT 2
- Not registering any tap HOT 2
- 0.3.0 does not work with any other events than tap HOT 5
- Add the template path to the toastrConfig constant HOT 2
- Pinch and other events HOT 2
- Double tap also recognizes two single taps HOT 2
- ReferenceError: Hammer is not defined HOT 2
- seems can not work with requirejs HOT 2
- Publish to npm HOT 5
- how to use 'drag' events?
- Angular 1.5 HOT 2
- Support pinchend event HOT 1
- Recognizer check fails on direct reference comparison
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 angular-gestures.