Table of Contents

Class ModalDialogTagHelper

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

Constructors

ModalDialogTagHelper(HtmlComponentFactory, IStringLocalizer<MasterDataResources>)

public ModalDialogTagHelper(HtmlComponentFactory htmlComponentFactory, IStringLocalizer<MasterDataResources> stringLocalizer)

Parameters

htmlComponentFactory HtmlComponentFactory
stringLocalizer IStringLocalizer<MasterDataResources>

Properties

Buttons

[HtmlAttributeName("buttons")]
public List<JJLinkButton> Buttons { get; set; }

Property Value

List<JJLinkButton>

Name

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

Property Value

string

ShowCloseButton

[HtmlAttributeName("show-close-button")]
public bool ShowCloseButton { get; set; }

Property Value

bool

Size

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

Property Value

ModalSize?

Title

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

Property Value

string

Methods

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output. Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. A Task that on completion updates the output. By default this calls into Process(TagHelperContext, TagHelperOutput)..
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext
output TagHelperOutput

Returns

Task