-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone template binding docs missing? #491
Comments
Thanks. Fixed the link. Examples of using data-binding outside of polymer-element are on http://www.polymer-project.org/docs/polymer/template.html. Polymer adds two-way data-binding on top of TemplateBinding (one-way). If you want to bind to
Alternatively, if you didn't want to go the element route, you could do something like this outside of
That example doesn't observe additional changes to rootElement.content, however. |
Closing this, as the doc issue is fixed. |
The template binding link on the following page points to a missing page:
http://www.polymer-project.org/docs/polymer/databinding-advanced.html#using-data-binding-outside-of-a-polymer-element
So do the two links on this page:
https://github.com/Polymer/TemplateBinding/blob/master/template-instantiation.md
Are there up-to-date docs for using the template binding code outside of a polymer template element?
I'd like to be able to do something like the following:
In the above code,
content
would be a property of<root-element>
's model.This doesn't seem to be supported in Polymer out of the box.
The text was updated successfully, but these errors were encountered: