panelId: string
string
elements: { element: UIPanelElementCreate; container: "footer" | "body" | { id: string; }; placement: { after: string; } | { before: string; } | { at: "start" | "end"; }; }[]
element
UIPanelElementCreate
container
"footer"
"body"
id
placement
after
before
at
"start"
"end"
-
container?
"footer" | "body" | { id: string; }
The section of the panel to add the element to. It can be either one of the top-level sections of the panel ("body" or "footer") or a specific container (like UIGridContainerElement) in the panel ({ id: string }).
{ id: string }
placement?
{ after: string; } | { before: string; } | { at: "start" | "end"; }
The placement of the element in the target container (based on the container property).
Last updated 6 months ago
Was this helpful?