/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { MenuItemModel } from './models/MenuItemModel'; /** * The arguments for the `select` event of the Menu. If the item has a URL and the event is prevented, navigation to the URL does not occur. */ export interface MenuSelectEvent { /** * The id of selected item. The ids are hierarchical and zero-based. The first root item has a `0` id. If the first root item has children, the first child acquires a `0_0` id and the second acquires a `0_1` id. */ itemId: string; /** * The selected item. */ item: MenuItemModel; }