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

Property Type Description
height number The height of the rectangle, in pixels.
width number The width of the rectangle, in pixels.
x number The x coordinate of the rectangle, in pixels.
y number The y coordinate of the rectangle, in pixels.

Links to this page: