ChatWelcomeSuggestionComponent

Renders a labeled welcome suggestion and emits its associated value when selected.

import { ChatWelcomeSuggestionComponent } from '@threadplane/chat';

Declaration

export declare class ChatWelcomeSuggestionComponent  {
  readonly description: import("@angular/core").InputSignal<string | undefined>;
  readonly label: import("@angular/core").InputSignal<string>;
  readonly selected: import("@angular/core").OutputEmitterRef<string>;
  readonly value: import("@angular/core").InputSignal<string>;
}

Angular template API

Selector: chat-welcome-suggestion

Inputs

description
string | undefined
label · required
string
value · required
string

Outputs

selected
string

Members

description

Optional short description, surfaced as a hover/focus tooltip on the chip.

readonly description: import("@angular/core").InputSignal<string | undefined>;

label

readonly label: import("@angular/core").InputSignal<string>;

selected

readonly selected: import("@angular/core").OutputEmitterRef<string>;

value

readonly value: import("@angular/core").InputSignal<string>;