Hi guys i want to do this
export class Page {
isHidden= false;
constructor(
public platform: Platform,
public params: NavParams,
public viewCtrl: ViewController,
public toastCtrl: ToastController
) {}
ionViewDidLoad() {
this.move();
}
move() {
function frame() {
// some looping logic here, and i want to change is Hidden variable to be true then some component in html can be hidden
isHidden = true;
}
}
}
But somehow i cant access isHidden
, it says undefined, can anybody tell what am i missing ?
Thanks