Kendo UI startButton TagHelper ActionSheetStartButtonSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("start-button", ParentTag = "kendo-actionsheet", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("icon", new string[] { })]
[SuppressTagRendering]
public class ActionSheetStartButtonSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseActionSheetStartButtonSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-actionsheet name="actionsheet" title="Title">
<start-button click="onStartButtonClick" />
</kendo-actionsheet>
<script>
function onStartButtonClick(){
//handler logic here
}
</script>
Child Tags
Constructors
Initializes a new instance of the ActionSheetStartButtonSettingsTagHelper class.
public ActionSheetStartButtonSettingsTagHelper()
Properties
The function that will be executed when the start button is clicked.
public string Click { get; set; }
Specifies the icon to be displayed in the start button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
[HtmlAttributeName("icon")]
public string Icon { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.