You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
As a followup on #144, is there a way to tell Polymer to not strip the content of a template element? I understand that I can still access the content via the ref_ property but the property name suggests that it is not intended to be used that way and relying on it might break my app at some point.
The text was updated successfully, but these errors were encountered:
We recommend you avoid this type of construction and instead place a template that you want to use outside of a data-binding context outside of the element's bound template. Here's one way to do it:
Also you can pass a "model" and "bindingDelegate" if you would like to make {{ bindings }} work inside of that template.
That's the disadvantage of my suggestion, too: createInstance will process {{ bindings }} whether you want it to or not. However, that's unavoidable since it was already inside another polymer-element's template, so the {{ bindings }} already had meaning.
As a followup on #144, is there a way to tell Polymer to not strip the content of a template element? I understand that I can still access the content via the
ref_
property but the property name suggests that it is not intended to be used that way and relying on it might break my app at some point.The text was updated successfully, but these errors were encountered: