Skip to content

Vizel API / core/src / createVizelPresenceExtension

Function: createVizelPresenceExtension()

ts
function createVizelPresenceExtension(options): Extension;

Defined in: packages/core/src/extensions/presence.ts:68

Create the presence extension.

Renders other collaborators' cursors as Decoration.widget labels and their selections as Decoration.inline highlights. Each user's color drives a CSS variable that the companion stylesheet consumes.

Parameters

ParameterType
optionsVizelPresenceOptions

Returns

Extension

Released under the MIT License.