Skip to content
@ng-doc/app / Class abstract

NgDocRootPage

Base class for NgDoc page

DeclarationTypeScript
export abstract class NgDocRootPage { … }

Members

Properties

9
demoAssets?: NgDocDemoAssets | undefined
readonly

The page demo assets that have code examples of the demo components

demoRoute?: string | undefined
readonly

The path of the page's demo pages, relative to the base href, when the Vite engine built them: the demo X has its page at <base href><demoRoute>/X. Isolated demos show it in an iframe, and the demo toolbar opens it in a new tab.

editSourceFileUrl?: string | undefined
abstractreadonly

Edit URL that can be used to edit the page source file in the repository

isolatedDemos?: boolean | undefined
readonly

Whether the page's demos are isolated unless their demo action says otherwise (isolatedDemos).

page?: NgDocPage | undefined
readonly

The page dependencies file

pageContent: string
abstractreadonly

Html content of the page

pageContentSource?: NgDocContentSource | undefined
readonly

Deferred content for generated pages. Legacy pages can continue to provide {@link pageContent} only.

pageType: NgDocPageType
abstractreadonly

The type of the page

viewSourceFileUrl?: string | undefined
abstractreadonly

View URL that can be used to view the page source file in the repository

Symbol
Kind
Class abstract
Scope
@ng-doc/app
Edit this page