import { Component, Input } from '@angular/core'; @Component({ selector: 'yap-launch-tab', templateUrl: './launch-tab.component.html' }) export class LaunchTabComponent { @Input() label = true; constructor() {} launchNewWindow() { // @ts-ignore window.open(window.location, '_blank'); } }