Meteor any template render

I have used popup almost every template
any logic to load jquery popup only one time
$('.test').popup();

Install meteor add aldeed:template-extension

Template.onRendered(function () {
  // Initialize all popups whenever any template is rendered
  this.$('.popup').popup();
});

This will be applied to all templates :smiley:

1 Like

It’s Work .Thank you @jorgeer