We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In hybrid code, dom-bind (and others) have to be written as a combination of both wrapper and is= form:
is=
<dom-bind> <template is="dom-bind"> <some-element></some-element> </template> </dom-bind>
In 1.x, the content ends up stamped like this:
<dom-bind> <some-element></some-element> <!-- content stamped here --> <template is="dom-bind"> <some-element></some-element> </template> </dom-bind>
But in 2.x, the content is stamped like this:
<some-element></some-element> <!-- content stamped here --> <dom-bind> <template is="dom-bind"> <some-element></some-element> </template> </dom-bind>
This can be a problem if the content depends on looking at the tree it's inserted in, such as IronFitBehavior.
The content of the dom-bind's template is stamped before the dom-bind element in the 1.x case.
The content of the dom-bind's template is stamped inside the dom-bind element but before the template in the 1.x case.
The text was updated successfully, but these errors were encountered:
Add 2.x hybrid affordances for stamping template content. Fixes #4536
53053eb
Merge pull request #4537 from Polymer/4536-kschaaf-hybrid-dom-bind
9dda1d4
Fixed via #4537. Will be released in v1.9.1
v1.9.1
Sorry, something went wrong.
No branches or pull requests
In hybrid code, dom-bind (and others) have to be written as a combination of both wrapper and
is=
form:In 1.x, the content ends up stamped like this:
But in 2.x, the content is stamped like this:
This can be a problem if the content depends on looking at the tree it's inserted in, such as IronFitBehavior.
Expected Results
The content of the dom-bind's template is stamped before the dom-bind element in the 1.x case.
Actual Results
The content of the dom-bind's template is stamped inside the dom-bind element but before the template in the 1.x case.
The text was updated successfully, but these errors were encountered: