Meteor any template render


#1

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


#2

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:


#3

It’s Work .Thank you @jorgeer