# XWUIGameLoreEntry

A single lore/codex document reader that shows a `title`, `by {author}` byline, and scrollable body `text`, with a star bookmark toggle and a bottom scroll-progress bar. Pick a `theme` (parchment or dark) and toggle `showBookmark` and `showScroll` via conf_comp; the `bookmarked` flag persists in data. Drive it with `bookmark()` (emits a `bookmarked` CustomEvent), `scrollTo(position)`, and `updateData()`. Use it to present readable codex/lore documents, journals, or item descriptions in a quest or codex screen.

## Basic Usage

Instantiates the lore entry reader in the `#app` container with a populated parchment document - title, author byline, and a multi-paragraph body - using the default config.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A parchment-themed lore entry titled "The Founding of Emberfall" with an author byline and a multi-paragraph body.
```

## Dark Tome

A forbidden grimoire on the `dark` theme, already bookmarked (filled star), with a longer ominous body.

```example
file: examples/DarkTome.ts
html: examples/BasicUsage.html
title: Dark Tome
description: A dark-themed "Codex of Hollow Names" that opens already bookmarked, showing the filled star and shadowed reader skin.
```

## Minimal Reader

A chromeless reading view with the bookmark star and scroll bar disabled - just title, byline, and text.

```example
file: examples/MinimalReader.ts
html: examples/BasicUsage.html
title: Minimal Reader
description: A distraction-free lore note with showBookmark and showScroll off, leaving only the title, author, and body.
```

```api
```
