AIPromptViewTagHelper
Example
Razor
<aiprompt-view>
<button-icon />
<prompt-commands></prompt-commands>
</aiprompt-view>
ChildTags
| Tag Name | Details |
|---|---|
| button-icon | AIPromptViewButtonIconSettingsTagHelper |
| prompt-commands | AIPromptViewPromptCommandsTagHelper |
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.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. |
| 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. This option expects the name of a JavaScript function that will be called to return the template. |
| footer-template-id | String | The template of the view footer. It can be a string, a function or a Kendo Template. This option expects the ID of the script element that contains the template. |
| footer-template-view | IHtmlContent | The template of the view footer. It can be a string, a function or a Kendo Template. This option expects the instance containing the created HTML. |
| 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. This option expects the name of a JavaScript function that will be called to return the template. |
| view-template-id | String | The template of the view content. It can be a string, a function or a Kendo Template. This option expects the ID of the script element that contains the template. |
| view-template-view | IHtmlContent | The template of the view content. It can be a string, a function or a Kendo Template. This option expects the instance containing the created HTML. |