public connect(handler as Object) as EventDispatcher<T>:
Registers a handler.
handler
This dispatcher.
button.clicked.connect(controller::onClick)