NgDocTitleContext
The parts of the current route that passes to its function.
Outside the documentation (a landing page, for example), categories is empty and page, tab and api are not set.
DeclarationTypeScript
export interface NgDocTitleContext { … }Members
Properties6 | |
api: string | undefined | Name of the API declaration, on an API page. |
categories: readonly string[] | Titles of the categories that contain the page, the outermost category first. |
page: string | undefined | Title of the guide or the API list. A title in the page's own route replaces it. Not set on an API page, which sets |
snapshot: | The router state the title is for. |
tab: string | undefined | Title of the active tab, when the page has more than one tab. Not set on a tab titled like the page, usually its first one. |
title: string | undefined | The title Angular sets by default: the title of the deepest route that has one. It is not set when no route of the navigation has a title. |
No members match.