# ScrollRestore

type in `@dioramajs/diorama/astro/client`

```ts
import type { ScrollRestore } from '@dioramajs/diorama/astro/client'
```

Which ClientRouter links land where the reader left the page, as Back does, instead of at the
top. 'parents': links up the address, to `/` from anywhere or to `/work` from `/work/aurora`,
so a list opens where the reader left it while a project opened from it starts at its cover.
'visited': links to any page seen earlier in this tab.

```ts
type ScrollRestore = 'parents' | 'visited'
```

Defined in [packages/diorama/src/astro-client.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/diorama/src/astro-client.ts#L228).
