MCPcopy Create free account
hub / github.com/WarFrontIO/client / onClick

Function onClick

src/ui/UIElement.ts:57–61  ·  view source on GitHub ↗

* Adds a click listener to this UI element. * @param callback The callback to invoke when the element is clicked

(callback: (x: number, y: number) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

registerClickListenerFunction · 0.90

Tested by

no test coverage detected