📅  最后修改于: 2022-03-11 14:48:16.158000             🧑  作者: Mango
isShown: boolean;
ngOnInit(){
isShown = false; //hidden every time subscribe detects change
}
toggleShow() {
this.isShown = ! this.isShown;
}