Last active
August 29, 2015 13:57
-
-
Save ayozebarrera/9911364 to your computer and use it in GitHub Desktop.
Call and insert a template with Meteor Blaze
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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