Class ComboBoxTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
[HtmlTargetElement("combobox")]
public class ComboBoxTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
ComboBoxTagHelper
- Implements
-
- Inherited Members
-
Constructors
ComboBoxTagHelper(IControlFactory<JJComboBox>)
public ComboBoxTagHelper(IControlFactory<JJComboBox> comboBoxFactory)
Parameters
comboBoxFactory
IControlFactory<JJComboBox>
Properties
[HtmlAttributeName("configure")]
public Action<JJComboBox>? Configure { get; set; }
Property Value
- Action<JJComboBox>
DataItem
[HtmlAttributeName("form-element-data-item")]
public FormElementDataItem? DataItem { get; set; }
Property Value
- FormElementDataItem
Name
[HtmlAttributeName("name")]
public string Name { get; set; }
Property Value
- string
Value
[HtmlAttributeName("value")]
public object? Value { get; set; }
Property Value
- object
Methods
ProcessAsync(TagHelperContext, TagHelperOutput)
Asynchronously executes the TagHelper with the given context
and
output
.
Contains information associated with the current HTML tag.
A stateful HTML element used to generate an HTML tag.
A Task that on completion updates the output
.
By default this calls into Process(TagHelperContext, TagHelperOutput)..
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
context
TagHelperContext
output
TagHelperOutput
Returns
- Task