Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
How to use DeviceBackButton on angluarJS?
-
I tried to display the notification using native backbutton. I have tried using the method shown below, but it doesn’t work properly, while for the cordova plugin was successful.
Then I looked for ways on the onsen website, I found this https://onsen.io/v2/api/angular1/ons.html#method-setDefaultDeviceBackButtonListener
But I still don’t know how to use it. So guys, please help me
thank you