randallb / angular-hammer Goto Github PK
View Code? Open in Web Editor NEWTouch events via Hammerjs
Touch events via Hammerjs
There is a typo in the hmGestures for the dragdown event.
It should be 'hmDragdown:dragdown',
without the 'e'.
I have a with hm-touch and when that button is disabled using ng-disabled the buttons is still clickable. This only happened on mobile devices.
Using version ^1.2.4
When I change the ng-click to hm-tap the first button (with the hm-tap attribute) seem to trigger the all hm-tap attributes on the page not only the one for the button being pressed and the other buttons does not trigger anything.
Is this a bug or have I done something wrong?
I have a partial view that is used in ngView and javascript under <script> tag in partial html does not work. Do you know why?
index.html
partial.html
I am not sure if this is an issue of hammer.js itself or of this integration. The symptom is: after one successful "hold" event a second hold action does not trigger an event.
Hello!!
We're using hammer in our application and I've seen that when the user presses shift+click (in this order), the browser throws an error page.
This success happens only the first time this action is executed and we've detected it only in Mac system.
Any idea?
Thanks.
README.md contains the sentence
Include the angular-hammer.js file, and add hmTouchevents to your app’s dependencies.
which should reference hmTouchEvents, not hmTouchevents
Hey,
you've written in your README that one has to define the module hmTouchEvents as dependency. Your module is named hmTouchevents (with lower e). Just wanted to let you know this :-)
The dom is like:
<div id="parent" ng-controller="myApp.ctrl.Parent" hm-swipe="parentSwipe()">
<ul id="child" ng-controller="myApp.ctrl.Children">
<li ng-repeat="brd in boards" hm-tap="childTap(brd)">{{brd.name}}</li>
</ul>
</div>
If there is no hm-swipe
on parent
, all works as expected.
But after I added hm-swipe
to parent
, if I tap
one of the children, tap
s of all children will be triggered.
And if its ng-click
on parent
, everything is OK.
You can see it here: http://jsfiddle.net/hbrls/L3TJ5/.
I'm not sure if it's an issue here or I misused angular
and hammer
. Could you please help me to find out?
Relatively new to AngularJS, but I cannot figure out out to access the $event variable that appears to be used by the plugin (at line 47)
I am trying to develop like this but no luck at all :S Any help?
http://eightmedia.github.io/hammer.js/examples/pull-to-refresh.html
Have any demos?
I have seen ngTouch, and it does not looks as feature compalient as hammer, maybe continue this project ?
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.