Coder Social home page Coder Social logo

Events not fired about jwizard HOT 6 CLOSED

laoneo avatar laoneo commented on July 30, 2024
Events not fired

from jwizard.

Comments (6)

dominicbarnes avatar dominicbarnes commented on July 30, 2024

Sorry about that, I've got far too many pages to keep up to date when it comes to documentation :S

Refer to the github wiki for up-to-date documentation

from jwizard.

laoneo avatar laoneo commented on July 30, 2024

So is there no way we can get a notification? This is why I primary started to use your wizard.....Just making them available with different names is not an option for you? Can you then give me the commit where you removed them that I can integrate it into my fork....

from jwizard.

dominicbarnes avatar dominicbarnes commented on July 30, 2024

I'm not sure which events you are referring to. cancel and finish are still the same, the only change is to activate and deactivate, because of huge problems in IE.

Now, you are to bind to next and previous. It's still a work-in-progress as far as these events go, but I've documented how it works atm here: http://github.com/desdev/jWizard/wiki/Custom-Events

Check this commit here as well: http://github.com/desdev/jWizard/commit/6745f12499d6a2d66d3e6a42efc05ba02a39cebe This is where the biggest changes to the underlying events had to take place.

from jwizard.

laoneo avatar laoneo commented on July 30, 2024

Thanks for the response, but I couldn't really figure out where did you remove the events. Is it not possible to make them available under a new name eg. wizardStepActivate and wizardStepDeactivate?

from jwizard.

dominicbarnes avatar dominicbarnes commented on July 30, 2024

In addition to having to rename the events, I rewrote the underlying event triggering model to use the one jQuery UI provides in order to be consistent as well as leverage some extra functionality.

As of now, binding events to individual steps (ie. activate/deactivate) is no longer supported. Instead, an event is bound to the wizard itself that passes in the indexes of the current as well as next step in order to figure out what action to take.

Before, I was triggering the events in the _changeStep method, in case you wanted to add it back in there. I would recommend using the new events model, rather than trying to add the old system back in there.

from jwizard.

laoneo avatar laoneo commented on July 30, 2024

Thanks for the answer. From my point of view it should be possible that each step should be able to add some functionality to the wizard process beside the next and previous function of the wizard.
Anyway...keep up the good work :-)

from jwizard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.