const commentElement = client.getCommentElement(); let elementRef = commentElement.getElementRefByAnnotationId('annotationId')
const commentElement = client.getCommentElement(); commentElement.scrollToCommentByAnnotationId('annotationId')
data-live-selection-config
/** * live selection configuration: * position: * - horizontal: 'left' * border: * - border: false */ <p data-live-selection-enabled="true" data-live-selection-config='{ "horizontal": "left", "border": false }' contenteditable="true"> Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum, consequatur. </p>
const onPresenceUserClickEvent = (user) => { console.log("Clicked presence user: ", user); } <VeltPresence onPresenceUserClick={(user) => onPresenceUserClickEvent(user)} />
<VeltPresence self={false} />
const presenceElement = client.getPresenceElement(); presenceElement.enableSelf(); presenceElement.disableSelf();
Was this page helpful?