Protected_Protected Readonly_Protected Readonly_Protected Readonly_Protected ReadonlygridviewReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyonReadonlyoverlayReadonlypopupReadonlyrootPromise that resolves when all popout groups from the last fromJSON call are restored. Useful for tests that need to wait for delayed popout creation.
Outermost element — the shell (incl. edge groups) once built, else the gridview.
Optionaloptions: FloatingGroupOptionsInternalOptionaloptions: AddGroupOptionsOptionaloptions: DockviewPopoutGroupOptionsInternalThe next / previous group in gridview (spatial) order, wrapping round. The keyboard accessibility module's focus navigation is built on this primitive — the only piece that needs the grid internals; the rest of the navigation logic lives in the AccessibilityService.
The nearest grid group in a spatial direction from group, by
comparing group centre points. Floating and popout groups sit outside
the grid's geometry and are ignored. Returns undefined when there is
no group in that direction.
Resolve the custom group drag ghost (via the AdvancedDnD module), or
undefined to fall back to the default chip. Returns undefined when
the module is absent — the default ghost then renders.
Optionaloptions: GroupOptionsThe origin of the operation currently in progress ('user' by default).
Read inside a mutation() or active-panel change to learn whether the
change was driven by application code (via the DockviewApi) or a
user gesture.
Build, fire, and return the verdict for an unhandled-drag-over event. Implemented on the component side so the service stays free of circular imports with the event class declared in dockviewComponent.
ProtecteddoOptionalsize: numberProtecteddoOptionaloptions: {ProtectedforceOptionaloptions: { reuseExistingPanels: boolean }Resolve which gridview root currently owns a group: the main grid, or the nested gridview of the floating / popout window it lives in.
Enumerate the popout groups currently open in their own windows.
Returns the PopupService that should host popovers (context menus, tab overflow menus) for the given group. Popout groups have their own service rooted in their popout window so the popover renders there and dismisses on events from that window.
OptionalforceResize: booleanBracket a structural mutation with onWillMutateLayout /
onDidMutateLayout. Re-entrant: nested calls (a compound operation such
as a drag that relocates a panel) join the outermost transaction, so the
events fire exactly once around the whole operation. kind reflects the
outermost mutation.
Optionaloptions: {Optionaloptions: {Resolve the app-supplied drop overlay model (via the AdvancedDnD module)
for a group drop target, or undefined to keep the target's default.
Optionalgroup: DockviewGroupPanelSerialize the current state of the layout
A JSON respresentation of the layout
Run func with the operation origin set to origin, restoring the
previous value afterwards. Used by the DockviewApi boundary to tag
programmatic operations as 'api', and by user-gesture handlers to tag
'user'. Only the outermost caller sets the origin — a nested call (or a
call made while a mutation is already in flight) keeps whatever the
enclosing operation established, so the trigger always wins.
Fires before / after a structural layout change — used to restore focus on close.