The htmlelement.polyfills library offers lightweight, vanilla JavaScript polyfills for some of the most frequently used DOM interactions on HTMLElement. Permission is hereby granted, free of charge, ...
Please model HTMLElement and its subclasses as classes instead of interfaces in lib.d.ts to make it possible to subclass them. My motivation is custom elements and web components. To create a custom ...