Class MessageToastTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
public class MessageToastTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
MessageToastTagHelper
- Implements
- Inherited Members
Constructors
MessageToastTagHelper(HtmlComponentFactory)
public MessageToastTagHelper(HtmlComponentFactory htmlComponentFactory)
Parameters
htmlComponentFactory
HtmlComponentFactory
Properties
Color
[HtmlAttributeName("title-color")]
public BootstrapColor Color { get; set; }
Property Value
Icon
[HtmlAttributeName("icon")]
public IconType? Icon { get; set; }
Property Value
Message
[HtmlAttributeName("message")]
public string? Message { get; set; }
Property Value
Name
[HtmlAttributeName("name")]
public required string Name { get; set; }
Property Value
ShowAsOpened
[HtmlAttributeName("show-as-opened")]
public bool ShowAsOpened { get; set; }
Property Value
Title
[HtmlAttributeName("title")]
public required string Title { get; set; }
Property Value
TitleMuted
[HtmlAttributeName("title-muted")]
public string? TitleMuted { 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.