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
CssClass
[HtmlAttributeName("class")]
public string? CssClass { get; set; }
Property Value
Icon
[HtmlAttributeName("icon")]
public IconType Icon { get; set; }
Property Value
Tooltip
[HtmlAttributeName("tooltip")]
public string? Tooltip { 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.