/ Meteor

Access Meteor Templates Instances Easily

Here is an easy way to access Meteor Templates easily:

Template._renderedInstances.forEach(
    (t) => {
      if(t.view.name === 'Template.DynamicTable') {
        console.log(t);
      }
    }
)

Access the parent template using: t.parent()