Re: [w3c/webcomponents] [idea] making builtin elements more like custom elements (#785)

The way built-in elements work is similar to the following code:

```js
class SomeBuiltinElement {
  connectedCallback() {
    // do something
  }
}

// This call causes the system to store SomeBuiltinElement.prototype.connectedCallback for later use.
customElements.define('somebuiltinelement', SomeBuiltinElement);

// But, it's not accessible to users.
delete SomeBuiltinElement.prototype.connectedCallback;
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/785#issuecomment-458191171

Received on Monday, 28 January 2019 16:05:07 UTC