ScriptTagHelper<TOptions> Class
Definition
- Namespace
- Cuemon.AspNetCore.Razor.TagHelpers
- Assemblies
- Cuemon.AspNetCore.Razor.TagHelpers.dll
Provides a base-class for targeting <script> elements that supports ICacheBusting versioning.
public abstract class ScriptTagHelper<TOptions> : CacheBustingTagHelper<TOptions>, ITagHelper, ITagHelperComponent, IConfigurable<TOptions> where TOptions : TagHelperOptions, new()
Type Parameters
TOptions
- Inheritance
-
CacheBustingTagHelper<TOptions>ScriptTagHelper<TOptions>
- Implements
-
IConfigurable<TOptions>
- Derived
- Inherited Members
Constructors
| Name | Description |
|---|---|
| ScriptTagHelper(IOptions<TOptions>, ICacheBusting) | Initializes a new instance of the ScriptTagHelper<TOptions> class. |
Properties
| Name | Description |
|---|---|
| Defer | Gets or sets a value indicating whether the script is executed when the page has finished parsing. |
| Src | Gets or sets the source of the script. |
Methods
| Name | Description |
|---|---|
| ProcessAsync(TagHelperContext, TagHelperOutput) | Asynchronously executes the TagHelper with the given |
See Also
CacheBustingTagHelper<TOptions>