ChainOfThoughtThoughtBuilder
Methods
Label(System.String)
The primary label text for the thought item.
Parameters
value - System.String
The value for Label
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
SecondaryLabel(System.String)
A secondary label displayed after the separator in the thought item.
Parameters
value - System.String
The value for SecondaryLabel
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
SvgIcon(System.String)
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.
Parameters
svgIcon - System.String
The svgicon.
RETURNS
Returns the current instance of ChainOfThoughtThoughtBuilder .
SvgIcon(System.Action)
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.
Parameters
configurator - System.Action<ChainOfThoughtThoughtSvgIconSettingsBuilder>
The configurator for the svgicon setting.
RETURNS
Returns the current instance of ChainOfThoughtThoughtBuilder .
LinesAdded(System.Double)
The number of lines added, displayed as a green delta badge on the thought item.
Parameters
value - System.Double
The value for LinesAdded
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
LinesRemoved(System.Double)
The number of lines removed, displayed as a red delta badge on the thought item.
Parameters
value - System.Double
The value for LinesRemoved
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
Time(System.String)
A time or duration string displayed after a separator in the thought item.
Parameters
value - System.String
The value for Time
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
Content(System.String)
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.
Parameters
value - System.String
The value for Content
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
Encoded(System.Boolean)
Controls whether thoughts.content is HTML-encoded before it is rendered. Set to false to render thoughts.content as raw HTML for trusted content.
Parameters
value - System.Boolean
The value for Encoded
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
Completed(System.Boolean)
Marks the individual thought item as completed by applying the k-thought-completed CSS class.
Parameters
value - System.Boolean
The value for Completed
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.