Bundleware, Toolbar Script Reference

Last site update 29th October 2026

useRoot

HookAPI 2

The element this widget or window renders into, owned by the toolbar.

SignatureuseRoot(): HTMLElement
Take it fromconst { useRoot } = Bundleware;

Return Value

TypeHTMLElement

Availability

Applicable versionsAPI 2 and higher
Bundleware0.3.0, build 2026.10.29