Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{!isEditable() ? 'Enable edit mode' : 'Disable edit mode'}}
</button>

<mat-stepper linear #stepper>
<mat-stepper aria-label="Editable stepper" linear #stepper>
<!-- #docregion editable -->
<mat-step [stepControl]="firstFormGroup" [editable]="isEditable()">
<!-- #enddocregion editable -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-stepper #stepper>
<mat-stepper aria-label="Stepper with errors" #stepper>
<mat-step [stepControl]="firstFormGroup" errorMessage="Name is required.">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-stepper>
<mat-stepper aria-label="Stepper harness example">
<mat-step>
<ng-template matStepLabel>One</ng-template>
<button matStepperNext>Next</button>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-stepper headerPosition="bottom" #stepper>
<mat-stepper aria-label="Stepper with header at the bottom" headerPosition="bottom" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[value]="optionalLabelTextChoice">{{optionalLabelTextChoice}}</mat-radio-button>
}
</mat-radio-group>
<mat-stepper class="demo-stepper" #stepper>
<mat-stepper aria-label="Internationalized stepper" class="demo-stepper" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- #docregion label-position -->
<mat-stepper labelPosition="bottom" #stepper>
<mat-stepper aria-label="Stepper with labels at the bottom" labelPosition="bottom" #stepper>
<!-- #enddocregion label-position -->
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-stepper orientation="vertical">
<mat-stepper aria-label="Stepper with lazy content" orientation="vertical">
<mat-step>
<ng-template matStepLabel>Step 1</ng-template>
<ng-template matStepContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{!isOptional() ? 'Enable optional steps' : 'Disable optional steps'}}
</button>

<mat-stepper linear #stepper>
<mat-stepper aria-label="Stepper with optional step" linear #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<button matButton="elevated" (click)="isLinear.set(!isLinear())" id="toggle-linear">
{{!isLinear() ? 'Enable linear mode' : 'Disable linear mode'}}
</button>
<mat-stepper [linear]="isLinear()" #stepper>
<mat-stepper aria-label="Horizontal stepper" [linear]="isLinear()" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
}

<mat-stepper
aria-label="Responsive stepper"
class="example-stepper"
[orientation]="(stepperOrientation | async)!">
<mat-step [stepControl]="firstFormGroup" label="Fill out your name">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{!isLinear ? 'Enable linear mode' : 'Disable linear mode'}}
</button>

<mat-stepper [linear]="isLinear()" #stepper>
<mat-stepper aria-label="Stepper with signal forms" [linear]="isLinear()" #stepper>
<mat-step [stepControl]="nameFormGroup">
<form (submit)="$event.preventDefault()">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<mat-stepper #stepper>
<mat-stepper aria-label="Stepper with custom states" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down Expand Up @@ -36,7 +36,7 @@
</mat-stepper>

<!-- #docregion states -->
<mat-stepper>
<mat-stepper aria-label="Stepper with custom state icons">
<!-- #docregion label -->
<mat-step label="Step 1" state="phone">
<p>Put down your phones.</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<button matButton="elevated" (click)="isLinear.set(!isLinear())" id="toggle-linear">
{{!isLinear() ? 'Enable linear mode' : 'Disable linear mode'}}
</button>
<mat-stepper orientation="vertical" [linear]="isLinear()" #stepper>
<mat-stepper aria-label="Vertical stepper" orientation="vertical" [linear]="isLinear()" #stepper>
<mat-step [stepControl]="firstFormGroup">
<form [formGroup]="firstFormGroup">
<ng-template matStepLabel>Fill out your name</ng-template>
Expand Down
Loading