ionViewWillUnload() { // remove zoom type on unload this.highChartsData.chart = { zoomType:'' }; ScreenOrientation.unlockOrientation(); }
ionViewDidLoad() { ScreenOrientation.lockOrientation('landscape'); }