Interface IOpenOptions

An options object for the open method on a menu.

interface IOpenOptions {
    forceX?: boolean;
    forceY?: boolean;
}

Properties

Properties

forceX?: boolean

Whether to force the X position of the menu.

Setting to true will disable the logic which repositions the X coordinate of the menu if it will not fit entirely on screen.

The default is false.

forceY?: boolean

Whether to force the Y position of the menu.

Setting to true will disable the logic which repositions the Y coordinate of the menu if it will not fit entirely on screen.

The default is false.