Skip to content

@modoki/engine / index / hostCanvases

Function: hostCanvases()

hostCanvases(hostId): HTMLCanvasElement[]

Every connected host canvas for hostId (entity id, as tagged by the UIRenderer's data-entity-id). Empty in a headless/SSR context or before the host has mounted.

Parameters

hostId

number

Returns

HTMLCanvasElement[]

Built with Modoki.