Skip to content
New issue

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

Support document.customElements.define() #484

Closed
treshugart opened this issue Feb 16, 2016 · 1 comment
Closed

Support document.customElements.define() #484

treshugart opened this issue Feb 16, 2016 · 1 comment
Labels

Comments

@treshugart
Copy link
Member

treshugart commented Feb 16, 2016

Relevant issues:

We should also ensure that we create type extensions appropriately:

We should keep support for the existing document.registerElement() until it makes sense to remove it.

It also seems that define() doesn't return the custom element definition anymore, so we'll need to get it and return that value instead to stay backward compat. See WICG/webcomponents#484.

@treshugart treshugart added this to the 1.0.0 milestone Mar 14, 2016
@treshugart treshugart changed the title Renaming of document.registerElement() Support document.defineElement() Mar 16, 2016
@treshugart treshugart changed the title Support document.defineElement() Support document.customElements.define() Mar 16, 2016
@treshugart
Copy link
Member Author

Fixed in #543.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant