allEventHandlers method

List<EventStream> allEventHandlers()

Returns all currently initialized event handlers.

Only handlers that were already created are included — null ones are skipped. The returned list is a snapshot and modifying it does not affect the component.

Useful for bulk operations such as closing, pausing, or debugging active listeners.

Implementation

List<EventStream> allEventHandlers() {
  return [
    ?_onClick,
    ?_onChange,
    ?_onKeyPress,
    ?_onKeyUp,
    ?_onKeyDown,
    ?_onMouseOver,
    ?_onMouseOut,
    ?_onLoad,
    ?_onError,
    ?_onGenerate,
  ];
}