Skip to content

TabInsertRect

Unofficial

The rectangle marking where a dragged tab would be inserted, returned within TabInsertLocation.

Import:

import type { TabInsertRect } from 'obsidian';

Signature:

export interface TabInsertRect

Properties

PropertyTypeDescription
heightnumberThe height of the rectangle, in pixels.
widthnumberThe width of the rectangle, in pixels.
xnumberThe x coordinate of the rectangle, in pixels.
ynumberThe y coordinate of the rectangle, in pixels.

Links to this page: