Handling events

Related Topics ...

Overview: Handling Events

Declaring Events

Firing Events

Once your model contains the appropriate event declarations, we can handle those events by adding an Event Handler builder call, specifying the event to handle and the action to run. Any arguments passed when the event gets fired get passed to the action specified by the Event Handler, so make sure that the action you specify takes the appropriate arguments.