# XWUIBackdrop

Overlay backdrop used by dialogs, drawers and modal layers.

## Basic Usage

Visible click-dismiss backdrop.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Visible click-dismiss backdrop.
```

## Click To Dismiss

A button reveals the backdrop with `show()`; clicking the overlay fires `onClick`, which calls `hide()`.

```example
file: examples/ClickToDismiss.ts
html: examples/ClickToDismiss.html
title: Click To Dismiss
description: A button reveals the backdrop with show(); clicking the overlay fires onClick, which calls hide().
```

## Custom Z-Index

A visible backdrop placed at a high z-index so it stacks above other layers, with a custom class hook.

```example
file: examples/CustomZIndex.ts
html: examples/CustomZIndex.html
title: Custom Z-Index
description: A visible backdrop placed at a high z-index so it stacks above other layers, with a custom class hook.
```

```api
```
