Exposes top-level TelerikPromptBox parameters of the composer, e.g.
<DatAInsightsSettings><DatAInsightsPromptBoxSettings Rows="5" /></DatAInsightsSettings>.
Renders nothing; registers itself with the cascading composer. Unset parameters keep the composer defaults.
Definition
Namespace:Telerik.Blazor.Components.DatAInsightsComposer
Assembly:Telerik.Blazor.DatAInsightsComposer.dll
Syntax:
public class DatAInsightsPromptBoxSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDatAInsightsPromptBoxSettings
Implements:
Inherited Members
Constructors
public DatAInsightsPromptBoxSettings()
Properties
The delay in milliseconds before the value is updated while typing.
[Parameter]
public int? DebounceDelay { get; set; }
Enables or disables the speech-to-text button.
[Parameter]
public bool? EnableSpeechToText { get; set; }
The maximum height of the textarea (e.g. "200px").
[Parameter]
public string? MaxTextAreaHeight { get; set; }
Mode
PromptBoxMode?
Defines the mode of the PromptBox - single-line, multi-line, or auto.
[Parameter]
public PromptBoxMode? Mode { get; set; }
The number of visible text lines for the textarea.
[Parameter]
public int? Rows { get; set; }
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
Unregisters the settings from the parent composer.
public void Dispose()
Implements:
protected override void OnParametersSet()
Overrides: