Elektrine lite

← Feed

@sir_pepe@mastodon.social

Post #882003

2026-03-27 12:38 UTC

Wait, what? There is a way to disable certain web component features via a static class field? Just randomly stumbled upon this in the specs. Can't find much documentation, but it works in Chrome and Firefox at least. 👉 https://html.spec.whatwg.org/multipage/custom-elements.html#dom-customelementregistry-define #webcomponents #webdev #javascript

Replies (0)

No replies.