Old step is not available in 'show.bs-stepper' event details
See original GitHub issueHi. Amazing package.
The ‘show’ event is cancellable, but only is provided the step that will be ‘shown’ via event.detail.indexStep
. I would like to know the old
and next
step in this event.
~I would like to know how to check the current step (before ‘shown’) in the ‘show’ event?~
I am able to use the global stepperInstance._currentIndex
as the old
value, but… should be nice to have it as event data.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Retrieving the current step with BS-stepper - Stack Overflow
I need to hide/show elements based on current step. Saw you edit. I guess its going to happen with if(event.details.indexStep == NUMBER) {...
Read more >Create Step By Step Progress In Bootstrap 4 - bs-stepper
Hi, having a few issues with the new update (using the CDN links), where it will not show the body of the stepper....
Read more >Bootstrap 4 Steps (Stepper) - examples & tutorial.
Bootstrap stepper is a component that displays content as a process with defined by user milestones. Following steps are separated and connected by...
Read more >jQuery Smart Wizard - The awesome step wizard plugin for ...
jQuery Smart Wizard is an accessible step wizard plugin for jQuery. ... Customer Details; 2 Products Details; 3 Shipping Details; 4 Confirm Order....
Read more >Materialize Stepper - GitHub Pages
A good, simple and easy to use stepper for Materializecss Framework. ... and no feedback or "next/previous-step" class and if there's a wrapping...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you’re welcome 😉 it’s already shipped in v1.7.0
Fixed by: https://github.com/Johann-S/bs-stepper/commit/16b146aa5f94c481bfd572e4207f180b63b02d47