Default Button on Enter Key

I found this help topic from 4 years ago:

Is this still the best way to do this? Is there no simple angular/ionic property alternative?

If this is the best way to do it, how is it done now (there are no Events dialog).
1 person has
this question