A big update: now you can handle inline events with the syntax:
You can insert this in children's element or in the element itself. You can use all the standard GlobalEventHandlers.
In this demo project you can see how to use some events (onclick, ondblclick, onmouseover, oncontextmenu, onchange and oninput) to call functions.
HTMLelement - Inline Event Handlers.c3p
You can also watch the Personal Portfolio Project to learn how to integrate it in a real world application.
Personal Portfolio Webpage.c3p