Skip to content

Instantly share code, notes, and snippets.

View Yonn-Trimoreau's full-sized avatar
🚀
Pushing websites to the next level!

Yonn Trimoreau Yonn-Trimoreau

🚀
Pushing websites to the next level!
  • Freelance
  • France
  • 08:41 (UTC +02:00)
View GitHub Profile
@t00ts
t00ts / app.component.ts
Created November 17, 2016 12:07
Ionic 2 PWA - Controlling browser back button
import { IonicApp, App, MenuController } from 'ionic-angular';
@Component ({...})
export class MyWebApp {
constructor (private _app: App, private _ionicApp: IonicApp, private _menu: MenuController) {
platform.ready().then(() => {
// Do your thing...