ChainOfThoughtThoughtTagHelper

Example

Razor
<thought>
    <svg-icon />
</thought>

ChildTags

Attributes

AttributeTypeDescription
completedBooleanMarks the individual thought item as completed by applying the k-thought-completed CSS class.
contentStringContent rendered as a nested body inside the thought item. HTML-encoded by default; set thoughts.encoded to false to render it as raw HTML.
encodedBooleanControls whether thoughts.content is HTML-encoded before it is rendered. Set to false to render thoughts.content as raw HTML for trusted content.
labelStringThe primary label text for the thought item.
lines-addedDoubleThe number of lines added, displayed as a green delta badge on the thought item.
lines-removedDoubleThe number of lines removed, displayed as a red delta badge on the thought item.
secondary-labelStringA secondary label displayed after the separator in the thought item.
svg-iconStringThe 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.
timeStringA time or duration string displayed after a separator in the thought item.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support