# XWUIGameThreatMeter

An aggro/threat ranking panel that sorts party `entries` by `threat` value (descending) and renders horizontal bars scaled against the top threat, with the value shown per row. The current aggro holder (top entry) gets a special glow, and the player's own row is highlighted via `isPlayer`. Each entry is `{ name, threat, isPlayer }`; cap the list with `maxEntries`, align it `left`/`right`, and hide names with `showNames: false`. Update the standings with `updateData({ entries })`.

## Basic Usage

A threat ranking panel with auto-sorted bars highlighting the aggro holder and the player.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A threat ranking panel with auto-sorted bars highlighting the aggro holder and the player.
```

## Pulling Aggro

A damage burst spikes the player above the tank; the table re-sorts so the player becomes the glowing aggro holder.

```example
file: examples/PullingAggro.ts
title: Pulling Aggro
description: updateData() re-sorts the standings when the player overtakes the tank's threat.
```

## Compact Bars

A name-less, left-anchored meter capped at the top 3 threats.

```example
file: examples/CompactBars.ts
title: Compact Bars
description: A minimal bars-only meter with showNames off and maxEntries trimming to the leaders.
```

```api
```
