MenuPosition
Interfaces for positioning a menu within a window. This is the same purpose as the interface PopupPositionProvider, except Vertical and Horizontal separate out the positioning logic for each direction individually.
Types
Functions
Returns a MenuPosition.Vertical which aligns the bottom of the menu to the top of the anchor.
Returns a MenuPosition.Vertical which aligns the bottom of the menu to the bottom of the window.
Returns a MenuPosition.Vertical which aligns the center of the menu to the top of the anchor.
Returns a MenuPosition.Horizontal which aligns the end of the menu to the end of the anchor.
Returns a MenuPosition.Horizontal which aligns the left of the menu to the left of the window.
Returns a MenuPosition.Horizontal which aligns the right of the menu to the right of the window.
Returns a MenuPosition.Horizontal which aligns the start of the menu to the start of the anchor.
Returns a MenuPosition.Vertical which aligns the top of the menu to the bottom of the anchor.
Returns a MenuPosition.Vertical which aligns the top of the menu to the top of the window.