Double click events in AngularJS

ksd123
ksd123 used Ask the Experts™
on
Hi Experts,

We are migrating windows Form application to Single Page Application with responsive web design compatible to different desktop browsers (IE11,IE Edge,FF,chrome) , Android and Ios devices  in both safari and chrome browsers using AngularJS, Material Design and HTML5 technologies. In windows application we have a Form with list of records and if you double click a record it will open a new window / Form   that will show complete details of that record. I want to achieve this functionality using AngularJS.


1) Using AngularJS how can I achieve double click event for ios/android devices  as well as for desktop browsers ? ie. What event I have to use ?

2) How can I open a new window in angularJS that should work across different browsers as well as in  ios/android devices (both safari and chrome browsers) ?  Is there any built-in service available  in angularjs to achieve this ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Multitechnician
Top Expert 2014
Commented:
1) https://docs.angularjs.org/api/ng/directive/ngDblclick
2) nothing special :
$window.open('http://www.experts-exchange.com/questions/28931555/Double-click-events-in-AngularJS.html?cid=1752', 'ksd123', 'width=800,height=600');
Again, there's nothing special here, just using $window instead window :
https://docs.angularjs.org/api/ng/service/$window

Author

Commented:
Thank you

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial