jQuery widget (jPanelMenu) stops working on meteor route change -
I have implemented the Japple menu through a render template, which works great, If not, then the menu stops. Here's the code that I'm using to open the plugin.
Template.mobileMenu.rendered = function () {var jpm = $ .jPanelMenu ({menu: '# mobile-menu', trigger: 'menu-trigger'}); JPM.on (); };
The template is loaded on all the pages of the footer, I am thinking that it needs to be run again on a route change, or is prevented from running again. I'm not sure which one thanks for any suggestions.
It seems like a problem like many people have a 3-party Ii component. I have given an example example of using a Model Dialog component, which can be helpful:
In addition, I should say that the new meteor UI rendering system, " Blaze ", should end this type of issues. I hope Blaze will be released soon.
(For future visitors coming in, the latest version is at the time of writing the meteor.)
Comments
Post a Comment