Standard mouse event directives as a standard in Ionic


#1

I was hoping that Ionic could provide standard mouse events like mouse down, mouse up, etc. And make it easily usable just like ng-click = someFunction() inside HTML.

For example :

ng-mousedown = someFunction()
ng-dblClick = someFunction()

Creating a new directive just to handle standard events like touch, swipe etc is a bit tedious.


#2

We have an open issue for this on our github.

It’s something we intend to do, just some bigger things to take care of first.


#3

That is a basic feature right? It would be helpful if directives for such basic event detection comes built in in the next release. That would be really helpful.

Please take a note for that! Many devs are waiting for this.