NgDocPageLinkComponent
A link in the page content. Links inside the application navigate with the router; other links open in a new tab and, outside code, show an external-link icon.
- Decorators
@Component - Selectors
ng-doc-page-link - Implements
OnInit
DeclarationTypeScript
@Component ({ … })
export class NgDocPageLinkComponent implements OnInit { … }Members
Properties9 | |
classes: | Classes of the link element. |
fragment: | The fragment of the link, without |
href: | The link target, as written in the content. It is optional so that a render before the page processor sets it (auto-detected change detection) does not fail. |
isExternalLink: | Whether the link leaves the application's origin. |
isInCode: | Whether the link sits inside a code element. |
path: | The path of an application link, or the |
The query parameters of the link. | |
The router target of an application link. | |
usesRouterLink: | Whether the link navigates with the router. |
Methods1 | |
(): void | — |
Signature Returns void | |
No members match.