Skip to content

MenuPositionDef

Official

A definition for the position of the menu.

Import:

import type { MenuPositionDef } from 'obsidian';

Signature:

export interface MenuPositionDef

Properties

Property Type Description
left? boolean Whether the menu should be aligned to the left.
overlap? boolean Whether the menu should overlap the position.
width? number The width of the menu.
x number The x position of the menu.
y number The y position of the menu.