Events 2 19 / 42
This example does the exact same as before, just that it keeps the event emitting and listening inside the template.
The argument we pass up during the event emitting is (just like before with regular events) available as $event
in the template.
Try moving the event listener back into a method to get a hang of the two different ways.