ESM
import "@arcgis/ai-components/components/arcgis-assistant-message-text";- Inheritance
- ArcgisAssistantMessageText→
HTMLElement
Renders assistant message text content. Use it when the block is plain text output. Offers sanitized rich-text rendering for assistant-generated message content.
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 arcgisAssistantMessageText = document.createElement("arcgis-assistant-message-text");document.body.append(arcgisAssistantMessageText);await arcgisAssistantMessageText.componentOnReady();console.log("arcgis-assistant-message-text is ready to go!");