DEV Community

Discussion on: A short story about events in Javascript

Collapse
 
tracygjg profile image
Tracy Gilmore • Edited

Fine article. I would just like to highlight that addEventListener can take a third argument to provide options. One of the option enables the capture mechanism you described. I am not sure about the level of browser support but it has been around for a while so there should be no need for a workaround/fallback.