Minifies the HTML content of the element.

[HtmlTargetElement]
[HtmlTargetElement]
public class MinifyTagHelper
Inheritance:
ObjectTagHelperMinifyTagHelper

Constructors

MinifyTagHelper(IWebHostEnvironment)

Properties

Order
Minify
EnvironmentNames Comma-separated list of environment names, e.g. "Development,Staging". Minification will only occur if the list contains the current environment name.

Methods

ProcessAsync(TagHelperContext, TagHelperOutput)