Nucleus .Net Core CMS

HtmlHelpers.ModuleTitleHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a module title.
Renders the module title. If the user has module edit rights and is editing page content, render attributes to enable inline editing of the module title.
ModuleTitle (IHtmlHelper htmlHelper)
Renders a header element with its content set to the module title. If the user has module edit rights and is editing page content, render attributes to enable inline editing of the module title.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
ModuleTitle (IHtmlHelper htmlHelper, String tag, Object htmlAttributes)
Renders a header element with its content set to the module title. If the user has module edit rights and is editing page content, render attributes to enable inline editing of the module title.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
tag String
htmlAttributes Object
ModuleTitle (IHtmlHelper htmlHelper, Object htmlAttributes)
Renders a header element with its content set to the module title. If the user has module edit rights and is editing page content, render attributes to enable inline editing of the module title.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
htmlAttributes Object