# linkOf

function in `@dioramajs/diorama/transitions`

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

The link a plain click follows to another page of this site, if it is one.

```ts
function linkOf(event: MouseEvent): HTMLAnchorElement | undefined
```

| Parameter | Type | Description |
| --- | --- | --- |
| `event` | `MouseEvent` |  |

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

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