> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.AppHtmlSnapshotOptions.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface AppHtmlSnapshotOptions

```typescript
interface AppHtmlSnapshotOptions {
    afterPaint?: boolean;
    maxBytes?: number;
    maxNodes?: number;
    source?: string;
}
```

Types: [afterPaint](#afterpaint), [maxBytes](#maxbytes), [maxNodes](#maxnodes), [source](#source)

##### Index

### <a id="properties"></a>Properties

[afterPaint?](#afterpaint) [maxBytes?](#maxbytes) [maxNodes?](#maxnodes) [source?](#source)

## <a id="properties-1"></a>Properties

### <a id="afterpaint"></a>`Optional`afterPaint

```typescript
afterPaint?: boolean
```

Default true: wait for paint before reading DOM.

### <a id="maxbytes"></a>`Optional`maxBytes

```typescript
maxBytes?: number
```

Maximum serialized snapshot size in UTF-8 bytes.

### <a id="maxnodes"></a>`Optional`maxNodes

```typescript
maxNodes?: number
```

Maximum element nodes copied from the app root.

### <a id="source"></a>`Optional`source

```typescript
source?: string
```

Advisory source for telemetry.
