Class NiteHeadTagHelper
- Namespace
- Nite.TagHelpers
- Assembly
- Nite.dll
<nite-head />: the import map, dev client and island loader in development; the
hashed loader and its preloads in production; and ClientConfig's values. Put it in <head>, before other module scripts.
[HtmlTargetElement("nite-head", TagStructure = TagStructure.WithoutEndTag)]
public sealed class NiteHeadTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
NiteHeadTagHelper
- Implements
- Inherited Members
Constructors
NiteHeadTagHelper(INiteAssets)
<nite-head />: the import map, dev client and island loader in development; the
hashed loader and its preloads in production; and ClientConfig's values. Put it in <head>, before other module scripts.
public NiteHeadTagHelper(INiteAssets assets)
Parameters
assetsINiteAssets
Properties
ViewContext
[ViewContext]
[HtmlAttributeNotBound]
public ViewContext ViewContext { get; set; }
Property Value
Methods
ProcessAsync(TagHelperContext, TagHelperOutput)
context and
output.
output.public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
contextTagHelperContextoutputTagHelperOutput