# XWUICarousel

A sliding carousel for images or arbitrary HTML/element content, with prev/next arrows, clickable dot indicators, and optional autoplay that pauses on hover. Each item supplies an HTML string or element via `content`; arrows and indicators only appear when there is more than one slide. Configure `autoplay` plus `interval` (ms), toggle `showArrows`/`showIndicators`, and use `loop` to wrap from the last slide back to the first. The public `next()`, `prev()`, and `getElement()` methods allow external control.

## Basic Usage

A three-slide carousel of styled content blocks with navigation arrows and indicators, autoplay off.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Three-slide content carousel with arrows and indicators.
```

## Autoplay

Slides advance every 2.5s and loop, with dot indicators only.

```example
file: examples/Autoplay.ts
html: examples/Autoplay.html
title: Autoplay
description: Auto-advancing, looping carousel with indicators only.
```

## Image gallery

Full-bleed photos with arrows and indicators; autoplay and loop off.

```example
file: examples/ImageGallery.ts
html: examples/ImageGallery.html
title: Image gallery
description: Photo slides with arrows and indicators, no autoplay.
```

```api
```
