onAny<T> method

EventListener<T> onAny<T>(
  1. EventCallback<T> callback
)

Same as on but without a type.

Implementation

EventListener<T> onAny<T>(EventCallback<T> callback) => on(null, callback);