Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export startHardwareBackButton() for debugging purposes #15617

Closed
ptitjes opened this issue Sep 16, 2018 · 1 comment
Closed

Export startHardwareBackButton() for debugging purposes #15617

ptitjes opened this issue Sep 16, 2018 · 1 comment
Assignees

Comments

@ptitjes
Copy link
Contributor

ptitjes commented Sep 16, 2018

Feature Request

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.1.1 (/opt/npm/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.9
   @angular-devkit/core       : 0.8.1
   @angular-devkit/schematics : 0.8.1
   @angular/cli               : 6.2.1
   @ionic/ng-toolkit          : 1.0.8
   @ionic/schematics-angular  : 1.0.6

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.7
   @capacitor/core           : 1.0.0-beta.7

System:

   NodeJS : v8.9.1 (/usr/local/bin/node)
   npm    : 6.4.1
   OS     : Linux 4.18

Describe the Feature Request
It would be practical to be able to test the hardware back button in development setup on the desktop.

Describe Preferred Solution
I would like for the startHardwareBackButton() function of @ionic/core to be exported.
We can then test backbutton events from the DevTools console by using window.document.dispatchEvent(new Event('backbutton')).

Describe Alternatives
None.

Related Code
None.

Additional Context
None.

@ionitron-bot
Copy link

ionitron-bot bot commented Oct 25, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants