Customize Layout
Change Order of Existing Components
Rearranging the order of Subcomponents
You can change the order of how the subcomponents
appear by rearranging the subcomponents
in the wireframe template.
In this example, the PageMode
and EmptyPlaceholder
subcomponents
of the Comments Sidebar
have been moved to the top of the template.
<VeltWireframe>
<VeltCommentsSidebarWireframe>
...
{/* PageMode */}
<VeltCommentsSidebarWireframe.PageModeComposer/>
{/* Empty Placeholder */}
<VeltCommentsSidebarWireframe.EmptyPlaceholder/>
{/* Header */}
<VeltCommentsSidebarWireframe.Header>
<VeltCommentsSidebarWireframe.CloseButton/>
<VeltCommentsSidebarWireframe.Search/>
<VeltCommentsSidebarWireframe.Status/>
<VeltCommentsSidebarWireframe.FilterButton/>
</VeltCommentsSidebarWireframe.Header>
...
</VeltCommentsSidebarWireframe>
</VeltWireframe>
Was this page helpful?