Skip to content

Commit 7301d48

Browse files
committed
update readme file with reset feature
1 parent 42c045a commit 7301d48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ npm install vue-stepper --save
2424
| `locale` | String | Default: `en`. Current options: `en`, `es`, `pt`, `ja`, `he`, `cn`, `ru` , `ar`. |
2525
| `top-buttons` | Boolean | Default: `false`. If `true` buttons on the header, at the start and the end of the steps, will be shown for better user experience. |
2626
| `keep-alive` | Boolean | Default: `true`. If `true` step components won't be destroy in each step change, bue if `false` they will. |
27+
| `reset` | Boolean | Default: `false`. If `true` the steps will be reset |
2728

2829

2930
### Steps object properties
@@ -45,6 +46,7 @@ npm install vue-stepper --save
4546
| `active-step` | Current active step. It's `name` and `index` are exposed on the deployed payload.|
4647
| `stepper-finished` | Event emitted when the user clicks the final button. Now it's time to execute a final callback method|
4748
| `clicking-back` | Triggered when user clicks the back button to return to a previous step|
49+
| `reset` | Triggered when the steps have been reset. So now it's pointing to the first step with cleared fields|
4850

4951
## Events that can be emitted by content component
5052

0 commit comments

Comments
 (0)