This project is read-only.

Custom Element

Topics: General, Language Specification
Nov 11, 2013 at 5:49 PM
Currently lib.d.ts discribe HTMLElement this way :
declare var HTMLElement: {
    prototype: HTMLElement;
    new (): HTMLElement;
interface HTMLElement .....
However with the new Custom Element spec we will be able to "extends" native element.
I think html elements should be described as 'class' so we can use the custom elements (especially since there is pretty good polyfill that already exists)
Nov 11, 2013 at 5:59 PM
Interesting. I haven't read that spec, yet. I'll copy this over as a work item.
Nov 11, 2013 at 6:00 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.