CSS-Tricks

Callbacks on Web Components?

A gem from Chris Ferdinandi that details how to use custom events to hook into Web Components. More importantly, Chris dutifully explains why custom events are a better fit than, say, callback functions. With a typical JavaScript library, you pass …
favicon
css-tricks.com
css-tricks.com
Create attached notes ...