chore(steps): fix steps storybook event examples (#637)
This commit is contained in:
parent
af03fd41b0
commit
19b36b02fa
1 changed files with 4 additions and 4 deletions
|
|
@ -118,7 +118,7 @@ If you have an intermediate step loading data via AJAX request and then automati
|
||||||
If you need to be notified when transition between steps happens use `transition` event providing steps data:
|
If you need to be notified when transition between steps happens use `transition` event providing steps data:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<lion-steps on-transition="onTransition">
|
<lion-steps @transition="${onTransition}">
|
||||||
<lion-step>Step 1</lion-step>
|
<lion-step>Step 1</lion-step>
|
||||||
<lion-step>Step 2</lion-step>
|
<lion-step>Step 2</lion-step>
|
||||||
<lion-step>Step 3</lion-step>
|
<lion-step>Step 3</lion-step>
|
||||||
|
|
@ -140,9 +140,9 @@ For notifications about specific step status change you can use individual event
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<lion-steps>
|
<lion-steps>
|
||||||
<lion-step on-left="onLeft">Step 1</lion-step>
|
<lion-step @leave="${onLeave}">Step 1</lion-step>
|
||||||
<lion-step on-skipped="onSkipped">Step 2</lion-step>
|
<lion-step @skip="${onSkip}">Step 2</lion-step>
|
||||||
<lion-step on-entered="onEntered">Step 3</lion-step>
|
<lion-step @enter="${onEnter}">Step 3</lion-step>
|
||||||
</lion-steps>
|
</lion-steps>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue