Created
May 17, 2015 15:33
-
-
Save hexsprite/1c5de32266f8e77d0d1a to your computer and use it in GitHub Desktop.
Meteor, Blaze - get template instance from DOM Element
This file contains hidden or 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
Blaze.getView($("div.now-view")[0])._templateInstance.currentAction.get() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see also: http://stackoverflow.com/questions/28236145/how-to-pull-the-data-context-from-a-view-in-meteor-using-blaze-getdata