AIPromptViewTagHelper

Example

Razor
<aiprompt-view>
</aiprompt-view>

Attributes

AttributeTypeDescription
nameStringThe name of the view. It is used to identify the view. It should be unique.
button-iconStringThe icon name of the Toolbar button rendered for the view.
button-textStringThe text of the Toolbar button rendered for the view.
footer-templateStringThe template of the view footer. It can be a string, a function or a Kendo Template.
footer-template-handlerStringThe template of the view footer. It can be a string, a function or a Kendo Template.
footer-template-idStringThe template of the view footer. It can be a string, a function or a Kendo Template.
footer-template-viewIHtmlContentThe template of the view footer. It can be a string, a function or a Kendo Template.
initialize-componentsStringA function that is executed when the view is rendered. It is used to initialize the components of the view with a custom content template.
prompt-suggestionsICollection<String>An array of prompt suggestions as strings to display in the prompt view. The suggestions can be clicked to populate the prompt input.
typeViewTypeDefines the type of the view.
view-templateStringThe template of the view content. It can be a string, a function or a Kendo Template.
view-template-handlerStringThe template of the view content. It can be a string, a function or a Kendo Template.
view-template-idStringThe template of the view content. It can be a string, a function or a Kendo Template.
view-template-viewIHtmlContentThe template of the view content. It can be a string, a function or a Kendo Template.
In this article
ExampleAttributes
Not finding the help you need?
Contact Support