# XWUIDisplayTypingIndicator

A display-only "User is typing…" indicator that renders a label plus three animated dots whose cycle speed is set by `animationSpeed` (`slow`/`normal`/`fast`). It derives its text from the `users` array (one name → "X is typing", two → "X and Y are typing", more → "N people are typing") or falls back to the `userName` config, and can optionally show a leading avatar (`showAvatar` + `avatarUrl`). Visibility is driven by the `visible` data flag with `show()` / `hide()` plus `setUsers()` / `addUser()` / `removeUser()` helpers, and an optional `autoHide` (after `autoHideDelay` ms) timer.

## Basic Usage

The indicator constructed with empty data and config, rendering the default "Typing" label with the standard-speed animated dots.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Default typing indicator with the generic "Typing" label and normal-speed animated dots.
```

## One User Typing

A single-name `users` array yields the "Sarah is typing…" label with a leading avatar.

```example
file: examples/SingleUser.ts
title: One User Typing
description: A visible "Sarah is typing…" indicator with an avatar enabled.
```

## Several People Typing

Three names collapse to the "3 people are typing…" label with fast dots.

```example
file: examples/GroupTyping.ts
title: Several People Typing
description: A three-name users array shown as "3 people are typing…" at fast speed.
```

```api
```
