chore(steps): fix steps storybook event examples (#637)

This commit is contained in:
David Marcu 2020-03-12 22:00:07 +02:00 committed by GitHub
parent af03fd41b0
commit 19b36b02fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
``` ```