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

Extending Vanilla JS Custom Element with polymer-element #496

Closed
tomalec opened this issue May 13, 2014 · 2 comments
Closed

Extending Vanilla JS Custom Element with polymer-element #496

tomalec opened this issue May 13, 2014 · 2 comments

Comments

@tomalec
Copy link
Contributor

tomalec commented May 13, 2014

Using <polymer extends=".. I can extend native HTML elements and Polymer Custom Elements, but I cannot extend Custom Element created with native JS.
Here is jsfiddle

Element created with

<polymer-element name="super-n-list" extends="my-n-list" >

where my-n-list is Custom Element created by document.register('my-n-list',...);, simply does not work.

Is this a bug, or is <polymer-element> design to extend only HTML and Polymer elements?

@ebidel
Copy link
Contributor

ebidel commented May 13, 2014

/sub
On May 13, 2014 2:15 AM, "Tomek Wytrębowicz" notifications@github.com
wrote:

Using <polymer extends=".. I can extend native HTML elements and Polymer
Custom Elements, but I cannot extend Custom Element created with native JS.
Here is jsfiddle http://jsfiddle.net/tomalec/ae3CV/5/

Element created with

where my-n-list is Custom Element created by
document.register('my-n-list',...);, simply does not work.

Is this a bug, or is design to extend only HTML and
Polymer elements?


Reply to this email directly or view it on GitHubhttps://github.com//issues/496
.

@sorvell
Copy link
Contributor

sorvell commented Aug 12, 2014

Seems to work ok and the jsfiddle is no longer valid.

http://jsbin.com/wamosi/1/edit

Please re-open if the problem resurfaces. Thanks.

@sorvell sorvell closed this as completed Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants