API Reference > ui-framework > Admin > FrameworkUiAdmin > showContextMenu showContextMenu Method Show a context menu at a particular location. showContextMenu(items: AbstractMenuItemProps[], location: XAndY, htmlElement?: HTMLElement): boolean Parameter Type Description items AbstractMenuItemProps[] Properties of the menu items to display. location XAndY Location of the context menu, relative to the origin of htmlElement or the overall window. htmlElement HTMLElement The HTMLElement that anchors the context menu. If undefined, the location is relative to the overall window. Returns - boolean true if the menu was displayed, false if the menu could not be displayed. Defined in ui/framework/src/ui-framework/uiadmin/FrameworkUiAdmin.tsx Line 39 Last Updated: 13 June, 2024