OptionalcontainerOptionalonOptional override called instead of the toolbar's built-in
action handler. Returning false (or undefined) lets the
built-in handler also run; returning true short-circuits
the default behaviour. Useful when a host wants to
customise Reset / Fit All / Explorer toggle without forking
the whole toolbar.
OptionalstoragelocalStorage key for persisting drag position + closed
state. Defaults to "xkt-tb-toolbar".
OptionalstudioOptional Studio. Used by Fit-All / Reset-View to read the Scene's overall AABB out of the helper's collision index; without it the camera-framing buttons fall back to a console-warn no-op.
Viewer the toolbar drives. Camera / projection actions read
the active View off this Viewer; doubles as the WeakMap
key for Toolbar.openFor idempotence — one toolbar
per Viewer.
OptionalvisibleShow on construction (default true).
DOM container; defaults to
document.body.