ElementRef; @HostBinding('class.active')isActive=false; @HostListener('click')onClick(){ if(!this.isActive){ this.isActive=true; return; } }
確定! 回上一頁