Nucleus .Net Core CMS

TagHelpers.MenuTagHelper Class

Namespace: Nucleus.ViewFeatures.TagHelpers
Assembly: Nucleus.ViewFeatures.dll
Displays the site's menu structure.
Specifies whether to render nothing if there are no pages in the menu.
Number of menu levels to display, or -1 for all levels.
Css classes to apply to the menu button.
Remarks
If a non-blank value is specified, the value is added to the css class for the top-level div rendered for the menu, and the default "navbar-light bg-light" classes are not applied.
Menu style
Specifies which page to use as the menu root, when RootPageType is "SelectedPage".
Menu root page type
Specifies whether to use the page name instead of the title for on-screen display.
Provides access to view context.
ProcessAsync (TagHelperContext context, TagHelperOutput output)
Generate the output.