Open phillipskevin opened 4 years ago
For code like this:
<!-- Adds the custom element to the page --> <my-counter></my-counter> <script type="module"> // The name of the custom element customElements.define("my-counter", Counter); </script>
...it would be really useful to be able to link to https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define in the comment above the last line of the script and make it possible for users to click them.
For code like this:
...it would be really useful to be able to link to https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define in the comment above the last line of the script and make it possible for users to click them.