Skip to main content

announceBridgeReady

@zylem/game-lib


@zylem/game-lib / bridge / announceBridgeReady

Function: announceBridgeReady()

announceBridgeReady(source?): void

Defined in: packages/bridge/src/registry.ts:78

Announce that the game side of the bridge is live. Dispatches a zylem:bridge:ready CustomEvent that bubbles across shadow DOM boundaries so decoupled listeners (editor, devtools) can react without polling.

Parameters​

source?​

EventTarget

Returns​

void