Ionic keyboard does not have a keypress event


#1

Is there a keypress, or keyup event equivalent for ionic keyboard?


#2

Are you typing in to some sort of input?

If so, you would associate a keyup event with the input

https://docs.angularjs.org/api/ng/directive/ngKeyup


#3

I’m using angular-payments. https://github.com/laurihy/angular-payments

The formatter listens for the keypress, and keydown events. I guess I can create an ngKeyup handler, then dispatch an keypress event…but that seems really really dirty.


#4

Ahh I see… based on a brief look at the source code, that’s probably the solution I’d go for


#5

Just a heads up: Ionic keyboard doesn’t trigger ng-keypress. ng-keydown and ng-keyup work…but not the one event that I need.


#6

Did you find a solution for this??