# XWUIScrollLock

Body scroll lock extracted from overlays. Adapter sets overflow hidden and restores on unlock/destroy. Do not nest Dialog.

## Basic Usage

Unlocked.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Unlocked.
```

## Locked

Body overflow hidden.

```example
file: examples/Locked.ts
html: examples/Locked.html
title: Locked
description: Body overflow hidden.
```

## Content

Whitelist copy as text.

```example
file: examples/Content.ts
html: examples/Content.html
title: Content
description: Whitelist copy as text.
```

## Unlock

Restore overflow.

```example
file: examples/Unlock.ts
html: examples/Unlock.html
title: Unlock
description: Restore overflow.
```

```api
```
