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

Method onClickItem

packages/fairygui/src/widgets/PopupMenu.ts:283–285  ·  view source on GitHub ↗
(itemObject: GObject)

Source from the content-addressed store, hash-verified

281 }
282
283 private onClickItem(itemObject: GObject): void {
284 Timer.inst.callLater(this, () => this.handleItemClick(itemObject));
285 }
286
287 private handleItemClick(itemObject: GObject): void {
288 if (!(itemObject instanceof GButton)) {

Callers

nothing calls this directly

Calls 2

handleItemClickMethod · 0.95
callLaterMethod · 0.80

Tested by

no test coverage detected