import { Directive , EventEmitter , Host , OnInit , Output } from '@angular/core' ; import { MovingDirection } from '../util/moving-direction.enum' ; import { WizardCompletionStep } from '../util/wizard-completion-step.inferface' ; author Marc Arndt
  @ Directive ( { selector : '[enableBackLinks]' , } ) export class EnableBackLinksDirective implements OnInit { type { EventEmitter < MovingDirection > } @ Output ( ) public stepExit = new EventEmitter < MovingDirection > ( ) ; param completionStep constructor ( @ Host ( ) private completionStep ) { } /**
     * Initialization work
     */ ngOnInit ( ) { this . completionStep . canExit = true ; this . completionStep . stepExit = this . stepExit ; } }