# span

function in `@dioramajs/text/assemble`

```ts
import { span } from '@dioramajs/text/assemble'
```

Seconds from the trigger until the text has landed, and with `crisp` until the glyphs show.

```ts
function span(
  p: { readonly delay: number; readonly duration: number; readonly stagger: number },
  units: number,
  crisp: boolean,
): number
```

| Parameter | Type | Description |
| --- | --- | --- |
| `p` | `{ readonly delay: number; readonly duration: number; readonly stagger: number }` |  |
| `units` | `number` |  |
| `crisp` | `boolean` |  |

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