CustomViewComponent
Component
Represents the component that renders a Custom view in the AIPrompt.
Definition
Package:@progress/kendo-angular-conversational-ui
Selector:kendo-aiprompt-custom-view
Syntax:
html
<kendo-aiprompt-custom-view [viewTemplate]="customTemplate">
</kendo-aiprompt-custom-view>
<ng-template #customTemplate>
<div>Custom content here</div>
</ng-template>
Inputs
buttonText
string
Sets the text for the Toolbar button of the current view.
icon
string
Sets the font icon for the Toolbar button of the current view.
svgIcon
SVGIcon
Sets the SVG icon for the Toolbar button of the current view.
viewTemplate
TemplateRef<any>
Sets the content of the Custom view as a template reference.