Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the demo to use non-deprecated APIs.
1) Replace `document.registerElement` with `customElements.define`. 2) Replace `createShadowRoot` with `attachShadow`. 3) Get rid of `document.writeln`, which is unsupported and unneeded. Up-to-date as of Oct 23, 2022.
- Loading branch information