import { Component } from '@angular/core' ; import { WizardComponent } from './wizard.component' ; import { WizardStep } from '../util/wizard-step.interface' ; author Marc Arndt
  @ Component ( { selector : 'wizard-navigation-bar' , templateUrl : 'wizard-navigation-bar.component.html' , styleUrls : [ 'wizard-navigation-bar.component.scss' ] , } ) export class WizardNavigationBarComponent { param wizard constructor ( private wizard ) { } returns { Array < WizardStep > } get wizardSteps ( ) : Array < WizardStep > { return this . wizard . wizardSteps . toArray ( ) ; } returns { number } get numberOfWizardSteps ( ) : number { return this . wizard . wizardSteps . length ; } }