Options for configuring a DOMContainer.
Controls how DOM elements are integrated into the PixiJS scene graph.
Example
// Create with a custom element constdomContainer=newDOMContainer({ element: document.createElement('input'), anchor: { x: 0.5, y: 0.5 } // or anchor: 0.5 to center both x and y });
Options for configuring a DOMContainer. Controls how DOM elements are integrated into the PixiJS scene graph.
Example