SelectionOn extension

on

Methods

onBind(String typename, OnListener? listener, [JSAny? options]) Selection

Available on Selection, provided by the SelectionOn extension

Adds or removes a listener to each selected element for the specified event typenames.
onGet(String typename) → OnListener?

Available on Selection, provided by the SelectionOn extension

Returns the currently-assigned listener for the specified event typename on the first (non-null) selected element, if any.