Skip to content

Instantly share code, notes, and snippets.

@ayozebarrera
Last active August 29, 2015 13:57
Show Gist options
  • Save ayozebarrera/9911364 to your computer and use it in GitHub Desktop.
Save ayozebarrera/9911364 to your computer and use it in GitHub Desktop.
Call and insert a template with Meteor Blaze
var fragment = UI.render(Template.templateName);
UI.insert(fragment, $('element').get(0)); //$('element').get(0) returns raw DOM node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment