Tag helper for rendering default content if the elements' current content is empty.

[HtmlTargetElement]
public class DefaultContentTagHelper
Inheritance:
ObjectTagHelperDefaultContentTagHelper

Constructors

DefaultContentTagHelper()

Properties

Order
DefaultValue Specifies the value to render if the tag content is empty.

Methods

Process(TagHelperContext, TagHelperOutput)