Ai question card

Question card shown inline in a conversational AI thread when the AI chatbot asks a question.

Contents

isLoading keeps the card on screen while the next question is fetched: placeholder rows stand in for the question and options, and the field locks. The bound question is ignored until loading ends.

The same card once the question arrives. Answering it and loading the next one on this instance starts with a clean field and no pick.

Who would your ideal customer be?

1 of 3
Inputs in Loading
isLoading ?: boolean = false

Swaps the question and options for placeholder rows and locks the field while the next question is fetched, so the card stays on screen between questions instead of unmounting. The bound `question` is ignored until it turns off.

Also set in this example
question : AiQuestion
totalQuestions ?: number
Outputs
onSelectionCleared ?: any = new EventEmitter<void>()
onSkip ?: any = new EventEmitter<void>()
onSubmit ?: any = new EventEmitter<string>()