handledBy

infix fun <E : Event, X : Element> DomListener<E, X>.handledBy(handler: Handler<Unit>)

Connects Events to a Handler.

Parameters

<receiver>

DomListener which contains the Event

handler

that will handle the fired Event