Skip to content
Snippets Groups Projects
Commit d87aea9f authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Add a wrapper for customElements.define() which adds some error handling

In case the browser doesn't support custom elements and shadow dom we display
an error instead of the element.

This assumes the JS code executed thus far didn't lead to errors, so this only works
for semi-modern browers.
parent 126c430f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment