Skip to content

Instantly share code, notes, and snippets.

Avatar

Abel Elbaile t00ts

View GitHub Profile
@t00ts
t00ts / app.component.ts
Created Nov 17, 2016
Ionic 2 PWA - Controlling browser back button
View app.component.ts
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...