Skip to content
@ng-doc/app / Interface

NgDocContentTexts

The texts of the content of a page: images and code blocks.

DeclarationTypeScript
export interface NgDocContentTexts { … }

Members

Properties

2
codeLines: (params: { count: number; ranges: string; }) => string

The highlighted lines in the header of a code block. Default: "Line 3", "Lines 6–7" or "Lines 2, 5–6". Values: count, the number of highlighted lines; ranges, the lines, such as "6–7".

openImage: (params: { alt: string; }) => string

Accessible name of an image that opens larger. Default: "Open image: {alt}". Values: alt, the text alternative of the image.

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