DOM Custom Events

Define/Explain DOM Custom Events

Custom events are similar to events, but allow you to set the event type. This allows you to trigger events on more unique user actions.

Define/Explain How to Create DOM Custom Events

You can use the event constructor to create the event and you can call the event based on your code.

Explain Why DOM Custom Events Are Used

Custom events allow you to define the trigger that calls the event. This gives more flexibility when you need an event called.

Summary of Documentation

Custom events allow you to create unique events that can be reused for other similar components.