Re: [w3c/webcomponents] [declarative-custom-elements] how does the class get associated with the definition (#884)

I'll assume that the proposal was missing the `export` part.

What happens if there are multiple script tags?

```js
<definition name="my-element">
    <template>....</template>
    <script type="module">
    export default class MyElement extends HTMLElement {
        // ...
    }
    </script>
    <script type="module">
    export default class MyOtherElement extends HTMLElement {
        // ...
    }
    </script>
</definition>

-- 
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/884#issuecomment-656794464

Received on Friday, 10 July 2020 17:31:04 UTC