# XWUIVideoDescription

The expandable description box that sits under a YouTube video: a views / posted-age stats line, the description `text` clamped to a few lines, an optional hashtag row, and a Show more / Show less toggle that expands the clamp. Pass `data.text` (required) plus `data.views`, `data.postedAt`, `data.hashtags`, and an initial `data.expanded`; set the collapsed line count with `conf_comp.collapsedLines` (default 3).

## Basic Usage

A description with a views / "2 days ago" header, multi-line text including timestamps, and three hashtags.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A clamped video description with a 12,453 views / 2 days ago header, timestamped body, and three hashtags.
```

## Long Description

A long, chaptered description with many hashtags, opened expanded with a raised clamp.

```example
file: examples/LongDescription.ts
html: examples/LongDescription.html
title: Long Description
description: A long-form description with a chapter list and seven hashtags shown expanded with a five-line collapsed threshold.
```

## Short Description

A one-line caption that fits the clamp, so no Show more toggle appears.

```example
file: examples/ShortDescription.ts
html: examples/ShortDescription.html
title: Short Description
description: A short single-sentence description with one hashtag that fits within the default clamp.
```

```api
```
