Skip to content

MenuPositionDef

Official

A definition for the position of the menu.

Import:

import type { MenuPositionDef } from 'obsidian';

Signature:

export interface MenuPositionDef

Properties

PropertyTypeDescription
left?booleanWhether the menu should be aligned to the left.
overlap?booleanWhether the menu should overlap the position.
width?numberThe width of the menu.
xnumberThe x position of the menu.
ynumberThe y position of the menu.