Table of Contents

Class IconTagHelper

Namespace
JJMasterData.Web.TagHelpers
Assembly
JJMasterData.Web.dll
public class IconTagHelper : TagHelper, ITagHelper, ITagHelperComponent
Inheritance
IconTagHelper
Implements
Inherited Members

Properties

Color

[HtmlAttributeName("color")]
public string? Color { get; set; }

Property Value

string

CssClass

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

Property Value

string

Icon

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

Property Value

IconType

Tooltip

[HtmlAttributeName("tooltip")]
public string? Tooltip { 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.