Table of Contents

Class CollapsePanelTagHelper

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

Constructors

CollapsePanelTagHelper(IComponentFactory<JJCollapsePanel>)

public CollapsePanelTagHelper(IComponentFactory<JJCollapsePanel> collapsePanelFactory)

Parameters

collapsePanelFactory IComponentFactory<JJCollapsePanel>

Properties

Color

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

Property Value

BootstrapColor

Configure

[HtmlAttributeName("configure")]
public Action<JJCollapsePanel>? Configure { get; set; }

Property Value

Action<JJCollapsePanel>

ExpandedByDefault

[HtmlAttributeName("expanded-by-default")]
public bool ExpandedByDefault { get; set; }

Property Value

bool

Icon

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

Property Value

IconType

Name

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

Property Value

string

Title

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

Property Value

string

Visible

[HtmlAttributeName("visible")]
public bool Visible { get; set; }

Property Value

bool

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