API Reference > ui-framework > Admin > FrameworkUiAdmin > showMenuButton showMenuButton Method Show a menu button at a particular location. A menu button opens a context menu. showMenuButton(id: string, menuItemsProps: AbstractMenuItemProps[], location: Readonly<WritableXAndY>, htmlElement?: HTMLElement): boolean Parameter Type Description id string Id of the menu button. Multiple menu buttons may be displayed. menuItemsProps AbstractMenuItemProps[] Properties of the menu items to display. location Readonly<WritableXAndY> Location of the context menu, relative to the origin of htmlElement or the 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 191 Last Updated: 11 June, 2024