Skip to content

TabInsertLocation

Unofficial

Describes where a dragged tab would be inserted, returned by WorkspaceTabs.getTabInsertLocation.

Import:

import type { TabInsertLocation } from 'obsidian';

Signature:

export interface TabInsertLocation

Properties

Property Type Description
droppedIndex null | number The index at which the dragged tab is currently dropped, or null when not over a valid drop target.
index number The insertion index.
rect TabInsertRect The rectangle marking the insertion position.

Links to this page: