license import { Directive } from '@angular/core' ; import { CdkStepper , CdkStepperNext , CdkStepperPrevious } from '@angular/cdk/stepper' ; import { MatStepper } from './stepper' ; export const _CdkStepperNext = CdkStepperNext ; export const _CdkStepperPrevious = CdkStepperPrevious ; /** Button that moves to the next step in a stepper workflow. */ @ Directive ( { selector : 'button[matStepperNext]' , host : { '(click)' : '_stepper.next()' , '[type]' : 'type' , } , inputs : [ 'type' ] , providers : [ { provide : CdkStepper , useExisting : MatStepper } ] } ) export class MatStepperNext extends _CdkStepperNext { } /** Button that moves to the previous step in a stepper workflow. */ @ Directive ( { selector : 'button[matStepperPrevious]' , host : { '(click)' : '_stepper.previous()' , '[type]' : 'type' , } , inputs : [ 'type' ] , providers : [ { provide : CdkStepper , useExisting : MatStepper } ] } ) export class MatStepperPrevious extends _CdkStepperPrevious { }