MCPcopy Create free account
hub / github.com/esengine/esengine / constructor

Method constructor

packages/fairygui/src/scroll/ScrollPane.ts:124–131  ·  view source on GitHub ↗
(owner: GComponent)

Source from the content-addressed store, hash-verified

122 private _onMouseUpHandler: (data: IInputEventData) => void;
123
124 constructor(owner: GComponent) {
125 super();
126 this.owner = owner;
127
128 // Bind handlers
129 this._onMouseMoveHandler = (data: IInputEventData) => this.onMouseMove(data.stageX, data.stageY);
130 this._onMouseUpHandler = () => this.onMouseUp();
131 }
132
133 /**
134 * Get scroll type

Callers

nothing calls this directly

Calls 2

onMouseMoveMethod · 0.95
onMouseUpMethod · 0.95

Tested by

no test coverage detected