In a Meteor application, suppose I have the following template:
Template.templateName.helpers({
helper1: function () {
alert("helper function called")
}
}
How do I call the helper1
function from the browser console?
EDIT: This is one solution:
Template.templateName.__helpers[" helper1"]()
Is there a more orthodox way?