The Pin that appears on the DOM when you place a Comment.
<VeltWireframe> <VeltCommentPinWireframe> <VeltCommentPinWireframe.GhostCommentIndicator /> <VeltCommentPinWireframe.Index /> <VeltCommentPinWireframe.PrivateCommentIndicator /> <VeltCommentPinWireframe.Triangle /> <VeltCommentPinWireframe.UnreadCommentIndicator /> </VeltCommentPinWireframe> </VeltWireframe>
<VeltWireframe> <VeltCommentPinWireframe.GhostCommentIndicator /> </VeltWireframe>
<VeltWireframe> <VeltCommentPinWireframe.Index /> </VeltWireframe>
<VeltWireframe> <VeltCommentPinWireframe.PrivateCommentIndicator /> </VeltWireframe>
<VeltWireframe> <VeltCommentPinWireframe.Triangle /> </VeltWireframe>
<VeltWireframe> <VeltCommentPinWireframe.UnreadCommentIndicator /> </VeltWireframe>
true
<VeltComments pinShadowDOM={false} />
const commentElement = client.getCommentElement(); commentElement.enablePinShadowDOM(); commentElement.disablePinShadowDOM();
Default: false
<VeltComments pinDarkMode={true}/>
const commentElement = client.getCommentElement(); commentElement.enableDarkMode(); commentElement.disableDarkMode();
Velt Comment Pin
<VeltCommentPin variant="CUSTOM_VARIANT" />
Was this page helpful?