Skip to content

PanelMount beta ​

TypeAlias of @v12-engine/client

ts
export type PanelMount = (element: HTMLElement, client: HudClient) => () => void;

Draws into an element of the HUD, with whatever the view likes to draw with. Returns what takes it away again