# XWUIPriceDropAlert

A product-page widget that lets a shopper set a target price and email so they get notified if the product's price drops to or below that target. It shows the current price, a target-price input pre-filled from the current price, and an email input; a basic truthy check gates submission, and a successful submission flips to a confirmation state.

## Events

| Event | Callback | Subscriber | `detail` |
|---|---|---|---|
| `xwui-price-drop-alert:subscribe` | `onSubscribe` | `onSubscribe(handler)` | `{ email, targetPrice }` |

## Usage

```ts
import { XWUIPriceDropAlert } from '@exonware/xwui/industry';

const alert = new XWUIPriceDropAlert(host, {
  currentPrice: 249,
  targetPrice: 199,
});

alert.onSubscribe((email, targetPrice) => api.subscribePriceAlert(email, targetPrice));
```

```api
```
