# textReveal

function in `@dioramajs/text/intro`

```ts
import { textReveal } from '@dioramajs/text/intro'
```

Hidden until drawn when in view at mount, so a heading on the first screen plays too. A
scrubbed one has nothing to play before a scroll.

```ts
function textReveal(element: Element): boolean
```

| Parameter | Type | Description |
| --- | --- | --- |
| `element` | `Element` |  |

Defined in [packages/text/src/intro.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/text/src/intro.ts#L7).
