AIPromptViewTagHelper
Example
Razor
<aiprompt-view>
</aiprompt-view>
Attributes
Attribute | Type | Description |
---|---|---|
name | String | The name of the view. It is used to identify the view. It should be unique. |
button-icon | String | The icon name of the Toolbar button rendered for the view. |
button-text | String | The text of the Toolbar button rendered for the view. |
footer-template | String | The template of the view footer. It can be a string, a function or a Kendo Template. |
footer-template-handler | String | The template of the view footer. It can be a string, a function or a Kendo Template. |
footer-template-id | String | The template of the view footer. It can be a string, a function or a Kendo Template. |
footer-template-view | IHtmlContent | The template of the view footer. It can be a string, a function or a Kendo Template. |
initialize-components | String | A 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-suggestions | ICollection<String> | An array of prompt suggestions as strings to display in the prompt view. The suggestions can be clicked to populate the prompt input. |
type | ViewType | Defines the type of the view. |
view-template | String | The template of the view content. It can be a string, a function or a Kendo Template. |
view-template-handler | String | The template of the view content. It can be a string, a function or a Kendo Template. |
view-template-id | String | The template of the view content. It can be a string, a function or a Kendo Template. |
view-template-view | IHtmlContent | The template of the view content. It can be a string, a function or a Kendo Template. |