The button used to open the Comments Sidebar panel.
<VeltWireframe> <VeltSidebarButtonWireframe> <VeltSidebarButtonWireframe.Icon /> <VeltSidebarButtonWireframe.CommentsCount /> </VeltSidebarButtonWireframe> </VeltWireframe>
<VeltWireframe> <VeltSidebarButtonWireframe.Icon /> </VeltWireframe>
<VeltWireframe> <VeltSidebarButtonWireframe.CommentsCount /> </VeltWireframe>
Default: true
<VeltSidebarButton shadowDom={false} />
Default: false
<VeltSidebarButton darkMode={true} />
const commentElement = client.getCommentElement(); commentElement.enableDarkMode(); commentElement.disableDarkMode();
Was this page helpful?