license import { Directive , ElementRef } from '@angular/core' ; import { FocusableOption } from '@angular/cdk/a11y' ; @ Directive ( { selector : '[cdkStepHeader]' , host : { 'role' : 'tab' , } , } ) export class CdkStepHeader implements FocusableOption { constructor ( protected _elementRef ) { } /** Focuses the step header. */ focus ( ) { this . _elementRef . nativeElement . focus ( ) ; } }