Skip to content

Commit

Permalink
Fix a bug in the arbitrary step navigation example (madoar#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
madoar committed Mar 9, 2019
1 parent c2e290c commit 9b914b7
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<aw-wizard-step [stepTitle]="'Steptitle 1'">
<div class="centered-content">
<div>
Content: Step 1
Navigate to the next step using a fixed step index.
</div>

<div class="btn-group">
Expand All @@ -13,7 +13,8 @@
<aw-wizard-step [stepTitle]="'Steptitle 2'" #secondStep>
<div class="centered-content">
<div>
Content: Step 2
Navigate to the previous step using a fixed step index.
Navigate to the next step using a step offset.
</div>

<div class="btn-group">
Expand All @@ -25,11 +26,11 @@
<aw-wizard-step [stepTitle]="'Steptitle 3'">
<div class="centered-content">
<div>
Content: Step 3
Navigate to the previous step using a step reference.
</div>

<div class="btn-group">
<button type="button" class="btn btn-secondary" [awGoToStep]="{ stepIndex: secondStep }">Back</button>
<button type="button" class="btn btn-secondary" [awGoToStep]="secondStep">Back</button>
<button type="button" class="btn btn-secondary" awResetWizard>Reset</button>
</div>
</div>
Expand Down

0 comments on commit 9b914b7

Please sign in to comment.