Table of Contents

Class AttributesTagHelper

Namespace
Dynamicweb.CoreUI.Rendering.TagHelpers
Assembly
Dynamicweb.CoreUI.Rendering.dll
[HtmlTargetElement(ParentTag = null, Attributes = "dw-attributes")]
public sealed class AttributesTagHelper : TagHelper, ITagHelper, ITagHelperComponent
Inheritance
AttributesTagHelper
Implements
Inherited Members

Properties

Attributes

[HtmlAttributeName("dw-attributes")]
public IDictionary<string, string>? Attributes { get; set; }

Property Value

IDictionary<string, 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.

To top