Skip to content
@ng-doc/app / Class

NgDocPageWrapperComponent

Layout of a generated page: the breadcrumbs, the page header, the tabs of a page with several routes, the page itself, the previous and next page links, and the table of contents beside it.

The breadcrumbs, the page links and the table of contents are the page skeleton's components, created in the containers this component exposes.

While the page shows one of its fullscreen routes (NgDocFullscreenRouteService), only the page is shown.

Decorators
@Component
Selectors
ng-doc-page-wrapper
Implements
OnInit
DeclarationTypeScript
@Component({ … })
export class NgDocPageWrapperComponent implements OnInit { … }

Members

Properties

13
context: NgDocContext
protected
—
protectedreadonly
—
hasBreadcrumb: InputSignalWithTransform<boolean, unknown>
readonly input()

Whether the page shows breadcrumbs.

headerContent: InputSignal<string>
readonly input()required

HTML of the page header.

headerContentSource: InputSignal<NgDocContentSource | undefined>
readonly input()

Deferred source of the page header, for generated pages that load it separately.

readonly

Container of the table of contents.

readonly input()

Type of the page: guides get previous and next page links, API pages do not.

protected
—
router: Router
protected
—
readonly input()required

Routes of the page; a page with more than one gets tabs.

protected
—

Methods

1
(): void
implements OnInit
—
Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-page-wrapper
Implements
OnInit
Scope
@ng-doc/app
Edit this page