DEV Community

Discussion on: Make the web more accessible with customized built-in elements

 
trusktr profile image
Joe Pea

I wanted to share an easy-to-use alternative that works well in place of customized builtins:

It is a lib, so I guess it is "polyfilled" forever at this point. It is easy to install though, and without the complications of "upgrading" element classes.

The class definition format is very similar, and it uses a has attribute instead of is attribute, and has takes a space-separated list so any number of functionalities (behaviors, defined with classes using the same life cycle methods as custom elements) can be instantiated on an element.