From a8044c2713c0c99974910f0a5ab687be128ed9d9 Mon Sep 17 00:00:00 2001 From: Fahri Gedik Date: Mon, 15 Sep 2025 22:10:05 +0300 Subject: [PATCH] Document refactor : menu removal methods in Angular UI Added descriptions for `remove` and `removeByParam` methods in the menu modification documentation, clarifying their parameters and usage for removing routes. --- docs/en/framework/ui/angular/modifying-the-menu.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/en/framework/ui/angular/modifying-the-menu.md b/docs/en/framework/ui/angular/modifying-the-menu.md index ee3997b9d7..44b2bb0bfd 100644 --- a/docs/en/framework/ui/angular/modifying-the-menu.md +++ b/docs/en/framework/ui/angular/modifying-the-menu.md @@ -269,7 +269,12 @@ this.routes.remove(['Your navigation']); // or this.routes.removeByParam({ name: 'Your navigation' }); ``` +**Method Parameters:** +- `remove(routeNames: string[])`: Takes an array of route names to remove. +- `removeByParam(routeProperty: Partial)`: Takes any route property (name, path, parentName, etc.) to match and remove routes. +
+**Results of the operations above:** - Moved the _Home_ navigation under the _Administration_ dropdown based on given `parentName`. - Added an icon to _Home_. - Specified the order and made _Home_ the first item in list.