Kendo UI AIPromptPromptOutput TagHelper AIPromptPromptOutputTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("prompt-output", ParentTag = "prompt-outputs", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class AIPromptPromptOutputTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseAIPromptPromptOutputTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-aiprompt name="aiprompt">
<prompt-outputs>
<prompt-output output="Generated AI output text" />
</prompt-outputs>
</kendo-aiprompt>
Constructors
Initializes a new instance of the AIPromptPromptOutputTagHelper class.
C#
public AIPromptPromptOutputTagHelper()
Properties
The id of the prompt output. If none is provided, the id will be generated as a kendo.guid(). The ID is rendered as data-id attribute in the prompt output.
C#
public string Id { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
C#
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.