Articles with the tag #event:

Image of code sample for the article: Use more ergonomic custom events

Use more ergonomic custom events

While we have CustomEvent for all of our events that need to carry data the need for the detail property nesting can feel a bit cumbersome. …read more

Image of code sample for the article: Lets code a plain JavaScript notification queue using private fields and methods

Lets code a plain JavaScript notification queue using private fields and methods

Defining easy-to-use APIs can be tricky, a good starting point is to keep a small exposed surface. Now as private fields are becoming available, let try them out. …read more