Table of Contents

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

List<TitleAction>

CssClass

[HtmlAttributeName("css-class")]
public string? CssClass { get; set; }

Property Value

string

Icon

[HtmlAttributeName("icon")]
public IconType? Icon { get; set; }

Property Value

IconType?

Size

[HtmlAttributeName("size")]
public HeadingSize? Size { get; set; }

Property Value

HeadingSize?

SubTitle

[HtmlAttributeName("subtitle")]
public string? SubTitle { get; set; }

Property Value

string

Title

[HtmlAttributeName("title")]
public string? Title { get; set; }

Property Value

string

Methods

Process(TagHelperContext, TagHelperOutput)

Synchronously executes the TagHelper with the given context and output.

public override void Process(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext

Contains information associated with the current HTML tag.

output TagHelperOutput

A stateful HTML element used to generate an HTML tag.