Support withSubs on the menuproviders in appmenu

Adds support to define child providers for a parent menu using a .withSubs option. This parent menu will always be displayed as an expandable menu.
When no children are visible, the expandable menus will be hidden.
This commit is contained in:
Yana De Pauw
2024-10-11 15:51:34 +02:00
parent 297562249a
commit 005936b18d
21 changed files with 330 additions and 185 deletions

View File

@@ -79,4 +79,6 @@ export interface MenuSection {
* Note that not all menus may render icons.
*/
icon?: string;
isExpandable?: boolean;
}