DEV Community

Discussion on: Create Reusable Web Components in HTML

Collapse
eerk profile image
eerk

It's just because the keyword extends HTMLElement is used. That means you have to call super() as well.