Open doubletaketech opened 9 years ago
I'm using the jquery-steps Meteor package.
I have a button inside of a step's content. When button is clicked, the Meteor event doesn't fire. It fires fine outside of jquery-steps.
I'm initializing steps inside of the template.rendered function
Template.stepsLayout.rendered = function(){ Meteor.setTimeout(function(){ $(".steps").steps({ headerTag: "h3", bodyTag: "div", transitionEffect: "slideLeft", autoFocus: true }); }); }
and the events are setup inside of template that loads inside the step.
Template.survey.events = { 'click #update' : function (event) { //does not fire } }
Do you have a working example of how to use jquery-steps meteor package? Seems like a timing issue or conflict with listeners or something.
Where should you call the steps function in a meteor app?
Any ideas what might be causing this issue?
Thanks, Don
i have the same problem with React Events
I'm using the jquery-steps Meteor package.
I have a button inside of a step's content. When button is clicked, the Meteor event doesn't fire. It fires fine outside of jquery-steps.
I'm initializing steps inside of the template.rendered function
and the events are setup inside of template that loads inside the step.
Do you have a working example of how to use jquery-steps meteor package? Seems like a timing issue or conflict with listeners or something.
Where should you call the steps function in a meteor app?
Any ideas what might be causing this issue?
Thanks, Don