NgDoc

What is NgDoc? Installation SSR Configuration NEW OPTIONS Migrations
Pages and categories UPDATED Blockquotes NEW STYLES Images and embeds NEW Code blocks Mermaid diagrams NEW Nunjucks Demo and Demo Pane Playground Keywords
Auto generation Documenting declarations Rendering API NEW
Page Processors Page Skeleton Layout Search Themes UPDATED Icons
Performance Ignoring file lines
API References Develop
@ng-doc/app / Class

NgDocCustomSidebarDirective

Decorators:@Directive
Selectors:[ngDocCustomSidebar]

Directive uses for providing custom sidebar, you should mark element with this directive and the NgDocRootComponent will use it as a sidebar

<ng-doc-root>
    <ng-doc-navbar></ng-doc-sidebar>

    <my-custom-sidebar ngDocCustomSidebar></my-custom-sidebar>
    <router-outlet></router-outlet>
</ng-doc-root>
MIT © 2023 Aleksandr Skoropad