setEventHandler abstract method
Assigns a handler
function to an event with a given name
.
If the event is emitted, the handler
function will be called.
Implementation
void setEventHandler(String name, EventListenerHandler handler);
Assigns a handler
function to an event with a given name
.
If the event is emitted, the handler
function will be called.
void setEventHandler(String name, EventListenerHandler handler);