BolTopMenu default view¶
Default view of BolTopMenuViewComponent. It renders the horizontal menu with the items that match the application's menu category.
Purpose¶
- Filter the menu items by
AppMenuCategoryfromBasicAppMapand render them through_BolMenuItemPartial.
Context¶
- Namespace:
BolMiddleware.Pages.Components - Assembly/package:
BolMiddleware
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| View | Pages/Components/BolTopMenu/default.cshtml with model BolMenuViewModel |
Renders the top navigation items for the configured menu category. |
Behavioral notes¶
- An empty or wrong category yields an empty bar.
Constraints and usage notes¶
- Depends on the
BasicAppMapconfiguration section (Configuration).
Sources¶
- src/BolMiddleware/Pages/Components/BolTopMenu/default.cshtml