Class CodeEditorTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
[HtmlTargetElement("code-editor", TagStructure = TagStructure.WithoutEndTag)]
public sealed class CodeEditorTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
CodeEditorTagHelper
- Implements
- Inherited Members
Constructors
CodeEditorTagHelper(IControlFactory<JJCodeEditor>)
public CodeEditorTagHelper(IControlFactory<JJCodeEditor> codeEditorFactory)
Parameters
codeEditorFactory
IControlFactory<JJCodeEditor>
Properties
For
[HtmlAttributeName("asp-for")]
public required ModelExpression For { get; set; }
Property Value
Height
[HtmlAttributeName("height")]
public int Height { get; set; }
Property Value
Language
[HtmlAttributeName("language")]
public required string Language { get; set; }
Property Value
Name
[HtmlAttributeName("name")]
public string Name { get; set; }
Property Value
Value
[HtmlAttributeName("value")]
public string Value { get; set; }
Property Value
Methods
Process(TagHelperContext, TagHelperOutput)
Synchronously executes the TagHelper with the given context
and
output
.
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
context
TagHelperContextContains information associated with the current HTML tag.
output
TagHelperOutputA stateful HTML element used to generate an HTML tag.