# CoverTiming

interface in `@dioramajs/diorama/transitions`

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

Timing and behaviour shared by every cover.

```ts
interface CoverTiming
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `arrive` | `boolean` | Pages that change without a link click (Back, Forward, a router call) open through the cover. Default true. |
| `duration` | `number` | Seconds the cover takes to close, and again to open. Default 0.6. |
| `ease` | `(t: number) => number` | Easing of each half, from 0..1 to 0..1. Default cubic in-out. |
| `links` | `boolean` | Hold link clicks while the cover closes, then pass them on to the router. Routers that wait by themselves (Astro ClientRouter) are not held. Default true. |
| `timeout` | `number` | Seconds a closed cover waits for the page to change before it opens anyway. Default 10. |
| `wait` | `number` | Seconds the closed cover waits, at most, for the new page's first screen (its pictures and models) before it opens. Default 0.5. |

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#L14).
