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.
Parameters
value - System.String
The value for SvgIcon
RETURNS
Returns the current ChainOfThoughtThoughtBuilder instance.
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.