ESM
import "@arcgis/ai-components/components/arcgis-assistant-message-loading";- Inheritance
- ArcgisAssistantMessageLoading→
HTMLElement
Shows in-progress assistant response UI. Use it to display thinking or loading state while work is running. Offers a default loading message shell with icon/content slot overrides.
Properties
| Property | Attribute | Type |
|---|---|---|
| assistant-avatar-enabled | ||
| | AssistantMessage["interrupts"] | undefined | |
| loading | ||
| loading-message |
interrupts
Property
- Type
- AssistantMessage["interrupts"] | undefined
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 arcgisAssistantMessageLoading = document.createElement("arcgis-assistant-message-loading");document.body.append(arcgisAssistantMessageLoading);await arcgisAssistantMessageLoading.componentOnReady();console.log("arcgis-assistant-message-loading is ready to go!");