Skip to content

External

Insert external DOM elements in any Pixi Application, and they will be added below the canvas.

WARNING

You may not need this component, as you can simply insert DOM elements below <Application>. This component is usually used for document debugging, such as debugging display counts.

API

External Props

NameTypeDefaultDescription
tagstringdivThe HTML tag of the external element
rootHTMLElementundefinedThe root element to append to. Defaults to the canvas parent node.

External Slots

NameTypesDescription
defaultContent to render inside the external DOM element.