Skip to content
@ng-doc/app / Interface

NgDocDemoTexts

The texts of the demos (NgDocDemoComponent, NgDocDemoPaneComponent and the components they use).

DeclarationTypeScript
export interface NgDocDemoTexts { … }

Members

Properties

23
code: string

Accessible name of a demo's expanded code. Default: "Code".

exitFullscreen: string

The button that leaves fullscreen. Default: "Exit fullscreen".

failed: string

Shown when an isolated demo did not load. Default: "The demo did not load.".

frameTitle: (params: { name: string; }) => string

Accessible title of the iframe of an isolated demo. Default: "{name} demo". Values: name, the name of the demo component.

fullscreen: string

The button that shows a demo fullscreen. Default: "Fullscreen".

hideCode: string

The button that hides a demo's code. Default: "Hide code".

loading: string

Shown while an isolated demo loads. Default: "Loading the demo.".

openFrameInNewTab: string

The link next to loading and failed. Default: "Open it in a new tab".

openFullscreenRoute: string

The link of a demo with a fullscreen route. Default: "Open demo in a new tab".

openInNewTab: string

The button that opens the demo's page in a new tab. Default: "Open in a new tab".

preview: string

The tab of the demo's preview. Default: "Preview".

readout280: string

Readout of the 280 pixels width. Default: "280 × auto".

readout480: string

Readout of the 480 pixels width. Default: "480 × auto".

readoutFull: string

Readout of the full width. Default: "100% × auto".

showCode: string

The button that shows a demo's code. Default: "Show code".

themeLabel: (params: { current: string; next: string; }) => string

Accessible name of the theme button of an isolated demo. Default: "Demo theme: {current}. Switch to {next}". Values: current and next, the names of the current and the next theme (themePage, the theme texts, or the id of a custom theme).

themePage: string

The theme of an isolated demo that follows the page, in the theme button's texts. Default: "Page theme".

themeTooltip: (params: { current: string; }) => string

Tooltip of the theme button of an isolated demo. Default: "Demo theme: {current}". Values: current, the name of the current theme.

viewsLabel: string

Accessible name of the view tabs of a demo. Default: "Demo view".

width280: string

The 280 pixels button. Default: "280 pixels wide".

width480: string

The 480 pixels button. Default: "480 pixels wide".

widthFull: string

The full width button. Default: "Full width".

widthsLabel: string

Accessible name of the preview width buttons. Default: "Preview width".

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