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 a page with
<polymer-element name="code-mirror" attributes="value mode theme tabSize lineNumbers"></polymer-element>
Try
var XFooPrototype = Object.create(HTMLElement.prototype); XFooPrototype.createdCallback = function() { this.textContent = "I'm an x-foo!"; }; XFooPrototype.foo = function() { console.log('foo() called'); }; var XFoo = document.registerElement('polymer-element', {extends: undefined, prototype: XFooPrototype });
The textContent will not update because the createdCallback is never called. Should work or throw.
The text was updated successfully, but these errors were encountered:
Should be var XFoo = document.registerElement('code-mirror', ... )
var XFoo = document.registerElement('code-mirror', ... )
Sorry, something went wrong.
Should have been fixed by googlearchive/ShadowDOM@4a630bc
could be, i've not updated.
No branches or pull requests
In a page with
Try
The textContent will not update because the createdCallback is never called. Should work or throw.
The text was updated successfully, but these errors were encountered: