Meteor template default events

By Tech Writer Productivity
Whenever you create a new template you can use these boilerplate events and rename them to fit your needs. Template.templateName.onDestroyed(function (){ }); Template.templateName.onRendered(functi
Whenever you create a new template you can use these boilerplate events and rename them to fit your needs.
Template.templateName.onDestroyed(function (){

});

Template.templateName.onRendered(function () {

});

Template.templateName.events({

});

Template.templateName.helpers({

});