- From: Justin Fagnani <notifications@github.com>
- Date: Fri, 23 Feb 2018 11:32:58 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 February 2018 19:33:32 UTC
In this example I'm showing the shared registry per package pattern I described above. I did forget to give the element the registry though.
We need to add:
```js
export class ParentElement extends LitElement {
static get registry { return registry; }
}
```
or:
```js
ParentElement.registry = registry;
```
And have `LitElement` use that in it's `attachShadow()` call.
--
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/716#issuecomment-368115698
Received on Friday, 23 February 2018 19:33:32 UTC