code: public static <T extends Event> HandlerRegistration bind(EventTarget target, EventType<T, ?> type,
              EventCallbackFn<T> listener) {
          return bind(target, type.name, e -> listener.onEvent(Js.cast(e)));
      }
docs: ------------------------------------------------------ binding methods