# HighlightBehaviorArgs

## Content

# Type Alias: HighlightBehaviorArgs

```ts
type HighlightBehaviorArgs = object;
```

Options for controlling the behavior when adding or clearing text highlights.

## Properties

### clearPrevious?

```ts
optional clearPrevious: boolean;
```

If `true`, clears existing highlights before applying the new one.

***

### skipPaint?

```ts
optional skipPaint: boolean;
```

If `true`, skips the immediate repaint of the text layer after applying the highlight.
