# XWUIDocumentComparer

Side-by-side and overlay comparison of two plain-text document versions with word-level diff.

## BasicUsage

Default draft A/B comparison.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: BasicUsage
description: Default draft A/B comparison.
```

## Overlay

Start in overlay mode.

```example
file: examples/Overlay.ts
html: examples/Overlay.html
title: Overlay
description: Start in overlay mode.
```

## SetMode

Switch mode from the class API.

```example
file: examples/SetMode.ts
html: examples/SetMode.html
title: SetMode
description: Switch mode from the class API.
```

## CustomTexts

Compare two supplied drafts.

```example
file: examples/CustomTexts.ts
html: examples/CustomTexts.html
title: CustomTexts
description: Compare two supplied drafts.
```

```api
```
