ESM
import "@arcgis/ai-components/components/arcgis-assistant-message-feedback";- Inheritance
- ArcgisAssistantMessageFeedback→
HTMLElement
Handles thumbs up or down feedback UI. Use it to capture helpful or not helpful signals per response. Offers feedback toggle behavior and emits feedback updates for the associated assistant message.
Properties
Methods
| Method | Signature |
|---|---|
| inherited | componentOnReady(): Promise<this> |
componentOnReady
inherited Method
- Signature
-
componentOnReady (): Promise<this>
Inherited from: this
Creates a promise that resolves once the component is fully loaded.
- Returns
- Promise<this>
- Example
- const arcgisAssistantMessageFeedback = document.createElement("arcgis-assistant-message-feedback");document.body.append(arcgisAssistantMessageFeedback);await arcgisAssistantMessageFeedback.componentOnReady();console.log("arcgis-assistant-message-feedback is ready to go!");
Events
| Name | Type |
|---|---|