📜  在特定页面上时组件的角度隐藏元素 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:23.103000             🧑  作者: Mango

代码示例1
// in .component.ts file
import { Router } from '@angular/router';

export class ExampleComponent {
    constructor(private _router: Router) {}
}

// in html file