Skip to content

Vizel API / core/src / VizelTextSegment

Interface: VizelTextSegment

Defined in: packages/core/src/utils/textHighlight.ts:11

A segment of text that may or may not be highlighted.

Properties

highlight

ts
highlight: boolean;

Defined in: packages/core/src/utils/textHighlight.ts:15

Whether this segment should be highlighted


text

ts
text: string;

Defined in: packages/core/src/utils/textHighlight.ts:13

The text content of this segment

Released under the MIT License.