A category of the sidebar: a header row that expands and collapses the pages below it.
An expandable category opens by itself when the reader navigates to one of its pages.
- Decorators
@Component - Selectors
ng-doc-sidebar-category
DeclarationTypeScript
@Component ({ … })
export class NgDocSidebarCategoryComponent { … }Members
Constructor1 | |
() | — |
Signature | |
Properties7 | |
category: | The category. |
childrenId: string | Id of the element that holds the pages, for the header's |
content: | The pages and categories inside the category. |
expandable: | Whether the reader can collapse the category. A category that cannot is always open. |
expanded: | Whether the category starts open. |
isExpanded: | Whether the category is open: it starts from |
isRoot: | Whether the category sits at the top level of the sidebar. |
Methods3 | |
(): void | Closes the category, unless it cannot be collapsed. |
Signature Returns void | |
(): void | Opens the category. |
Signature Returns void | |
(): void | Opens the category if it is open, or closes it otherwise. |
Signature Returns void | |
No members match.