Mounted beta
Function of @v12-engine/client/kit
ts
export declare function Mounted(props: JSX.HTMLAttributes<HTMLDivElement> & {
mount: (element: HTMLElement) => (() => void) | void;
}): JSX.Element;An element of the page for a game to draw into (a mount): made, handed over once it is on the page, and what the mount gave back called when it goes. Everything else it is given is the element's (class, data-…)