Defines the fluent API for configuring the Kendo InlineAIPrompt for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class InlineAIPromptEventBuilder : EventBuilder
Inheritance: objectEventBuilderInlineAIPromptEventBuilder
Inherited Members
Constructors
Initializes a new instance of the InlineAIPrompt class.
public InlineAIPromptEventBuilder(IDictionary<string, object> events)
The client events.
Methods
Defines the handler of the CommandExecute client-side event. Triggered once a command is selected.
public InlineAIPromptEventBuilder CommandExecute(string handler)
The name of the JavaScript function that will handle the CommandExecute event.
Returns:Defines the handler of the Hide client-side event. Triggered once the component has been closed programmatically.
public InlineAIPromptEventBuilder Hide(string handler)
The name of the JavaScript function that will handle the Hide event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the InlineAIPrompt is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public InlineAIPromptEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the OutputAction client-side event. This event will be fired with the button options that will be received, after the command has finished. Currently, these would be the Copy, Retry, and Discard options.
public InlineAIPromptEventBuilder OutputAction(string handler)
The name of the JavaScript function that will handle the OutputAction event.
Returns:Defines the handler of the PromptRequest client-side event. Triggered before a request has been initiated to the specified service.
public InlineAIPromptEventBuilder PromptRequest(string handler)
The name of the JavaScript function that will handle the PromptRequest event.
Returns:Defines the handler of the PromptRequestCancel client-side event. Triggered when a prompt request is cancelled, typically by clicking the stop generation button during streaming operations.
public InlineAIPromptEventBuilder PromptRequestCancel(string handler)
The name of the JavaScript function that will handle the PromptRequestCancel event.
Returns:Defines the handler of the PromptResponse client-side event. Triggered once a response has been sent back from the specified service.
public InlineAIPromptEventBuilder PromptResponse(string handler)
The name of the JavaScript function that will handle the PromptResponse event.
Returns:Defines the handler of the Show client-side event. Triggered once the component has been opened programmatically.
public InlineAIPromptEventBuilder Show(string handler)
The name of the JavaScript function that will handle the Show event.
Returns: