# XWUINotification

A corner notification box with a title, description, icon, and close button (Ant Design Notification equivalent). Use it for transient toast-style messages anchored to a viewport corner. Set the `placement` (`topLeft` / `topRight` / `bottomLeft` / `bottomRight`) and `type` (`info` / `success` / `warning` / `error`), and give `duration` in ms for auto-dismiss (0 keeps it until closed). `closable` adds the X button; register `onClose(fn)` for a dismissal callback, and call `close()` to remove it programmatically.

## Usage

```ts
import { XWUINotification } from './XWUINotification';

const note = new XWUINotification(
  container,
  { title: 'Saved', description: 'Your changes have been stored.' },
  { placement: 'topRight', type: 'success', duration: 4000 }
);

note.onClose(() => console.log('closed'));
```

## Basic Notification

A success toast in the top-right corner confirming a save, kept open until dismissed.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Notification
description: A success toast in the top-right corner confirming a save, kept open until dismissed.
```

## Notification Types

One notification of each type - info, success, warning, and error - each kept open until dismissed.

```example
file: examples/NotificationTypes.ts
html: examples/NotificationTypes.html
title: Notification Types
description: One notification of each type - info, success, warning, and error - each kept open until dismissed.
```

## Error Alert

A single error notification in the top-right corner reporting an upload that exceeded the 10 MB limit.

```example
file: examples/ErrorAlert.ts
html: examples/ErrorAlert.html
title: Error Alert
description: A single error notification in the top-right corner reporting an upload that exceeded the 10 MB limit.
```

```api
```
