Table of Contents

Class CardTagHelper

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

Constructors

CardTagHelper(IComponentFactory<JJCard>)

public CardTagHelper(IComponentFactory<JJCard> cardFactory)

Parameters

cardFactory IComponentFactory<JJCard>

Properties

Color

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

Property Value

BootstrapColor

Configure

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

Property Value

Action<JJCard>

Icon

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

Property Value

IconType

Layout

[HtmlAttributeName("layout")]
public PanelLayout? Layout { get; set; }

Property Value

PanelLayout?

Model

[HtmlAttributeName("model")]
public object? Model { get; set; }

Property Value

object

Name

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

Property Value

string

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