Tag helper for rendering content values for several html elements.

[HtmlTargetElement]
public class ContentTagHelper
Inheritance:
ObjectTagHelperContentTagHelper

Constructors

ContentTagHelper()

Properties

Order
ContentValue Specifies the content value to render for this element.
ContentAction Specifies the action to take if the element already has existing content. Default behavior is to replace any existing content.

Methods

Process(TagHelperContext, TagHelperOutput)