question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Old step is not available in 'show.bs-stepper' event details

See original GitHub issue

Hi. 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:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Johann-Scommented, Jul 24, 2019

you’re welcome 😉 it’s already shipped in v1.7.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found