Table of Contents

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

BootstrapColor

Icon

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

Property Value

IconType?

Message

[HtmlAttributeName("message")]
public string? Message { get; set; }

Property Value

string

Name

[HtmlAttributeName("name")]
public required string Name { get; set; }

Property Value

string

ShowAsOpened

[HtmlAttributeName("show-as-opened")]
public bool ShowAsOpened { get; set; }

Property Value

bool

Title

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

Property Value

string

TitleMuted

[HtmlAttributeName("title-muted")]
public string? TitleMuted { 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.