I would like to be able to hide my primary navigation on certain pages – I think a custom decorator would be the most intuitive and concise:
import { Page } from 'ionic-angular';
import { hideTabs } from './tabs';
@hideTabs()
@Page({
...
})
export class BuyPage {
}`
I posted my thought process and current progress to StackOverflow:
Does anyone know how to complete this @hideTabs()
decorator? Alternatively, is there a simpler/better way to hide tabs on certain pages that I’m overlooking?
Thanks!