Skip to main content

HighlighterConfig

Interface defining the configuration options for the Highlighter class.

Properties

autoHighlightOnClick

autoHighlightOnClick: boolean

Whether to automatically highlight fragments on click.


selectEnabled

selectEnabled: boolean

Toggles the select functionality.


selectName

selectName: string

Name of the selection event.


selectionColor

selectionColor: null | Color

Color used for selection.

Deprecated

use selectMaterialDefinition instead


world

world: null | World

The world in which the highlighter operates.