API REFERENCE

collabUserColor

Distinctive color for the participant's cursor and presence indicators.

What does this API do?

Distinctive color for the participant's cursor and presence indicators.

API for Pro features: Real-time collaboration (existing Pro grade retained)

Exact input and result types

typescript
collabUserColor: string
ItemValue
JavaScript namecollabUserColor
HTML attributecollab-user-color
Defaultundefined
Input typestring

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the collab-user-color attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples