Adds an event handler that runs when an element on a mobile app is pressed.
A mobile element receives an event
when a mobile app user presses on the element and releases.
handler(event: Event): void
The name of the function or the function expression to run when an element on a mobile app is pressed.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.