New to Kendo UI for AngularStart a free 30-day trial

Provides a service for opening and configuring the Inline AI Prompt component dynamically.

Definition

Package:@progress/kendo-angular-conversational-ui

Syntax:

ts
export class DemoComponent {
  @ViewChild('anchor', { read: ElementRef }) anchor: ElementRef;
  constructor(private promptService: InlineAIPromptService) {}

  open(): void {
    this.promptService.open({
      popupSettings: { anchor: this.anchor },
      placeholder: 'Enter your prompt...'
    });
  }
}

Methods

Opens an Inline AI Prompt component in a popup. The popup appears near the specified anchor element or at the provided offset coordinates.

Parameters:optionsInlineAIPromptSettings

The options for the InlineAIPromptComponent.

Returns:

PopupRef

A reference to the popup.

In this article
DefinitionMethodsopen
Not finding the help you need?
Contact Support