# CustomCover

interface in `@dioramajs/diorama/transitions`

```ts
import type { CustomCover } from '@dioramajs/diorama/transitions'
```

Your own cover: an effect with a `position` param (0 page shown, 1 covered, 2 shown again), and
optionally `x` and `y`, the origin in viewport fractions. It runs on `<html>`.

```ts
interface CustomCover
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `name` | `Effect` |  |
| `params?` | `Readonly<Record<string, unknown>>` | Params for the effect. |

Also exported from `@dioramajs/transitions/cover`.

Defined in [packages/transitions/src/cover/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/transitions/src/cover/types.ts#L92).
