import { Component , ChangeDetectionStrategy } from '@angular/core' ; import { NglPill } from './pill' ; @ Component ( { selector : 'a[nglPillAction]' , templateUrl : './pill-link.html' , changeDetection : ChangeDetectionStrategy . OnPush , host : { '[class.slds-pill__action]' : 'true' , } } ) export class NglPillLink { constructor ( pill ) { pill . linked = true ; } }