on method
on register callback to listener
Implementation
Window on(EventType type, WindowListener callback) {
_eventManager.on(this, type, callback);
return this;
}
on register callback to listener
Window on(EventType type, WindowListener callback) {
_eventManager.on(this, type, callback);
return this;
}