Skip to content

Instantly share code, notes, and snippets.

View t00ts's full-sized avatar

Abel E t00ts

  • Barcelona
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...