How to creat an event like described by the W3C?

Hi!
In the pages about the event-models on the W3C website there is the possibility described that you could create your own events, if I understood it right.

Has anyone used this already? Any examples known?

Greetings
Dieter
---
Good to be back on this good forum!