MCPcopy Create free account
hub / github.com/coder/ghostty-web / attachCustomWheelEventHandler

Method attachCustomWheelEventHandler

lib/terminal.ts:818–822  ·  view source on GitHub ↗

* Attach a custom wheel event handler (Phase 2) * Returns true to prevent default handling

(
    customWheelEventHandler?: (event: WheelEvent) => boolean
  )

Source from the content-addressed store, hash-verified

816 * Returns true to prevent default handling
817 */
818 public attachCustomWheelEventHandler(
819 customWheelEventHandler?: (event: WheelEvent) => boolean
820 ): void {
821 this.customWheelEventHandler = customWheelEventHandler;
822 }
823
824 // ==========================================================================
825 // Link Detection Methods

Callers 1

scrolling.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected