Kendo UI ChainOfThoughtThought TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("thought", ParentTag = "thoughts", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("svg-icon", new string[] { })]
[SuppressTagRendering]
public class ChainOfThoughtThoughtTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChainOfThoughtThoughtTagHelper
Implements:
Inherited Members
Child Tags
Constructors
Initializes a new instance of the ChainOfThoughtThoughtTagHelper class.
public ChainOfThoughtThoughtTagHelper()
Properties
Marks the individual thought item as completed by applying the k-thought-completed CSS class.
public bool? Completed { get; set; }
Content rendered as a nested body inside the thought item. HTML-encoded by default; set thoughts.encoded to false to render it as raw HTML.
public string Content { get; set; }
Controls whether thoughts.content is HTML-encoded before it is rendered. Set to false to render thoughts.content as raw HTML for trusted content.
public bool? Encoded { get; set; }
The number of lines added, displayed as a green delta badge on the thought item.
public double? LinesAdded { get; set; }
The number of lines removed, displayed as a red delta badge on the thought item.
public double? LinesRemoved { get; set; }
A secondary label displayed after the separator in the thought item.
public string SecondaryLabel { get; set; }
The name of the SVG icon displayed for the thought item.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("svg-icon")]
public string SvgIcon { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.