Class TitleTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
[HtmlTargetElement("jj-title")]
public class TitleTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
TitleTagHelper
- Implements
- Inherited Members
Constructors
TitleTagHelper(HtmlComponentFactory)
public TitleTagHelper(HtmlComponentFactory htmlComponentFactory)
Parameters
htmlComponentFactory
HtmlComponentFactory
Properties
Actions
[HtmlAttributeName("actions")]
public List<TitleAction>? Actions { get; set; }
Property Value
CssClass
[HtmlAttributeName("css-class")]
public string? CssClass { get; set; }
Property Value
Icon
[HtmlAttributeName("icon")]
public IconType? Icon { get; set; }
Property Value
Size
[HtmlAttributeName("size")]
public HeadingSize? Size { get; set; }
Property Value
SubTitle
[HtmlAttributeName("subtitle")]
public string? SubTitle { get; set; }
Property Value
Title
[HtmlAttributeName("title")]
public string? Title { get; set; }
Property Value
Methods
Process(TagHelperContext, TagHelperOutput)
Synchronously executes the TagHelper with the given context
and
output
.
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
context
TagHelperContextContains information associated with the current HTML tag.
output
TagHelperOutputA stateful HTML element used to generate an HTML tag.