- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 28 Jan 2019 08:04:46 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 28 January 2019 16:05:07 UTC
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