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
EmitChangesDirective uses some weirdness to get all properties and behavior properties for an element. Some digging revealed that Polymer actually creates a flattened __classProperties object that contains all the properties going up the chain.
I think the current method is working for hybrid elements, but will fail in this scenario with mixins:
MyMixin = Polymer.dedupingMixin(base => { return class MyMixin extends base { static get properties() { return { totallyLegal: { type: Boolean, value: true, reflectToAttribute: true }; }; } } }); class MyElement extends MyMixin(Polymer.Element) { static get properties() { return { ownProp: { type: Boolean, value: true, reflectToAttribute: true } }; } connectedCallback() { console.log(this.ownProp); // true console.log(this.totallyLegal); // true } }
I don't think Origami will pick up on the totallyLegal, which is totally wrong.
totallyLegal
The text was updated successfully, but these errors were encountered:
30d300d
hotforfeature
No branches or pull requests
EmitChangesDirective uses some weirdness to get all properties and behavior properties for an element. Some digging revealed that Polymer actually creates a flattened __classProperties object that contains all the properties going up the chain.
I think the current method is working for hybrid elements, but will fail in this scenario with mixins:
I don't think Origami will pick up on the
totallyLegal
, which is totally wrong.The text was updated successfully, but these errors were encountered: