nglar / ngtouch Goto Github PK
View Code? Open in Web Editor NEWA angular module to add directives for touch devices.
License: MIT License
A angular module to add directives for touch devices.
License: MIT License
I really liked ngTouch for ng1 - will it work for ng2?
You might consider putting a line on readme.md about angular 2 - if it works for both or only ng1...
http://webman.io/ngtouch is the current project URL but it goes to a dead page.
I no longer use Angular myself and will therefore not maintain it anymore.
However, if anyone wants to take over just let me know at [email protected].
There is a new feature called "passive event listener"
This library should update according to this:
https://www.chromestatus.com/feature/5745543795965952
Also please look at this thread:
http://stackoverflow.com/questions/39152877/consider-marking-event-handler-as-passive-to-make-the-page-more-responive/39187679
Touch is not working on mobile device with this library
I getting this error:
Handling of 'touchstart' input event was delayed for 2147483647 ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responsive.
Great job with this touch directive. The only issue I had was that $element.context.getAttribute(); didn't work for me.
I changed it to $element.attr() and everything worked great!
Using ng-touch, normal links with href attribute and no ng-touch/angular attributes don't work no more on touch devices. (they do respond to a mouse click)
I have ng-touchmove and ng-touchend attributes on the body element. If I remove these, my links work again.
To show the problem I put my project here: http://ashware.nl/pentomino/ngtouchproblem/ try tapping the link to my website (ashWare) at the bottom right.
https://github.com/Esger/Pentominos
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.