Page Mode Setup
Import CommentsSidebar Components
Import the Comments Sidebar Components.
Add Comments and Sidebar components
Add the VeltComments
and VeltCommentsSidebar
components to the root of your app.
Enable Page Mode
Set the pageMode
attribute to true on the VeltCommentsSidebar
component.
Add Sidebar button component
Add the Sidebar button to toggle the sidebar.
Test Page Mode
Test Page Mode out by opening the sidebar. You should be able to leave Page Mode comments at the bottom of the Comments Sidebar.
Import CommentsSidebar Components
Import the Comments Sidebar Components.
Add Comments and Sidebar components
Add the VeltComments
and VeltCommentsSidebar
components to the root of your app.
Enable Page Mode
Set the pageMode
attribute to true on the VeltCommentsSidebar
component.
Add Sidebar button component
Add the Sidebar button to toggle the sidebar.
Test Page Mode
Test Page Mode out by opening the sidebar. You should be able to leave Page Mode comments at the bottom of the Comments Sidebar.
Place the `<velt-comments-sidebar>` component
Place the <velt-comments-sidebar>
component at the root of your app.
Enable Page Mode
Enable Page Mode by setting the page-mode
attribute to true
on the <velt-comments-sidebar>
component.
Place the `<velt-sidebar-button>` component
Place the <velt-sidebar-button>
component wherever you want the toggle button to appear.
Test Page Mode
Test Page Mode out by opening the sidebar. You should be able to leave Page Mode comments at the bottom of the Comments Sidebar.
Was this page helpful?