New to Kendo UI for Angular? Start a free 30-day trial
CustomViewComponent
Represents the component that renders a Custom view in the AIPrompt.
html
<kendo-aiprompt-custom-view [viewTemplate]="customTemplate">
</kendo-aiprompt-custom-view>
<ng-template #customTemplate>
<div>Custom content here</div>
</ng-template>
Selector
kendo-aiprompt-custom-view
Inputs
Name | Type | Default | Description |
---|---|---|---|
buttonText |
|
Sets the text for the Toolbar button of the current view. | |
icon |
|
Sets the font icon for the Toolbar button of the current view. | |
svgIcon |
|
Sets the SVG icon for the Toolbar button of the current view. | |
viewTemplate |
|
Sets the content of the Custom view as a template reference. |