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
serializeValueToAttribute: function (value, attribute, node) { if (attribute === 'class') { var host = node === this ? Polymer.dom(this).getOwnerRoot() || this.dataHost : this; if (host) { value = host._scopeElementClass(node, value); }
throws an error "TypeError: element is undefined"
serializeValueToAttribute: function (value, attribute, node) { if (attribute === 'class') { var host = node === this ? Polymer.dom(this).getOwnerRoot() || this.dataHost : this; if (host) { value = host._scopeElementClass(host, value); }
returns the right result
The text was updated successfully, but these errors were encountered:
Probably should be
if (host && node) { value = host._scopeElementClass(node, value); }
Sorry, something went wrong.
7a132ff
sorvell
No branches or pull requests
throws an error "TypeError: element is undefined"
returns the right result
The text was updated successfully, but these errors were encountered: