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
Methods
Process(TagHelperContext, TagHelperOutput)
Synchronously executes the TagHelper with the given context and
output.
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
contextTagHelperContextContains information associated with the current HTML tag.
outputTagHelperOutputA stateful HTML element used to generate an HTML tag.