Groups
Sign in
Groups
Polymer
Conversations
Labels
About
Send feedback
Help
PSA: MDV master branch change: HTMLTemplateElement.bindTree() is now template.model
49 views
Skip to first unread message
Rafael Weinstein
unread,
Apr 18, 2013, 5:08:33 PM
4/18/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to toolkitchen
I've updated the main README.md, but
HTMLTemplateElement.bindTree() is no longer public API. The correct
way to provide data to a template is something like:
document.querySelector('myTemplate').model = { myData: 'foo' };
Note that because bindTree is in use by custom elements, it is now
available as "private" API at
HTMLTemplateElement.bindAllMustachesFrom_(node, model);
R
Reply all
Reply to author
Forward
0 new messages