Skip to content
@ng-doc/app / Interface

NgDocPlaygroundTexts

The texts of the playgrounds (NgDocPlaygroundComponent) and their controls.

DeclarationTypeScript
export interface NgDocPlaygroundTexts { … }

Members

Properties

28
addItem: string

Placeholder and accessible name of the text field of an array control, which adds an item. Default: "Add item".

addValue: (params: { value: string; }) => string

The row of an array control's suggestions that adds the typed text as an item. Default: "Add “{value}”". Values: value, the typed text.

content: string

Section of the content slots. Default: "Content".

defaultValue: string

Marks the default value of a union type. Default: "default".

editItem: (params: { item: string; }) => string

Accessible name of the field that edits an item of an array control in place. Default: "Edit {item}". Values: item, the item as the control shows it.

editKeys: string

Describes the key that edits an item of an array of strings or numbers for assistive technology. Default: "Enter or F2 to edit".

frameTitle: (params: { id: string; target: string; }) => string

Accessible title of the iframe of a demo of an isolated playground. Default: "{id} playground: {target}". Values: id, the name of the playground; target, its selector or pipe name.

inPageControl: (params: { input: string; }) => string

Note of an isolated playground in the page because the control of an input is not cloneable. Default: "This playground runs in the page because the control of {input} doesn't support it.". Values: input, the name of the input.

inPageDefault: (params: { input: string; }) => string

Note of an isolated playground in the page because the target's default value of an input can't be put in a URL. Default: "This playground runs in the page because the default value of {input} can't be sent to its frame.". Values: input, the name of the input.

inPageFrameError: (params: { message: string; }) => string

Note of an isolated playground in the page because the page in its iframe failed. Default: "This playground runs in the page because its frame failed: {message}". Values: message, the error of the page, in English.

inPageFrameSilent: string

Note of an isolated playground in the page because the page in its iframe loaded but did not answer. Default: "This playground runs in the page because its frame did not load.".

inPageSelector: (params: { selector: string; }) => string

Note of an isolated playground in the page because its selectors option names a selector that is not one of the target's. Default: "This playground runs in the page because {selector} is not a selector of its target.". Values: selector, the selector.

inPageTooLong: string

Note of an isolated playground in the page because its values are too long for a URL. Default: "This playground runs in the page because its values are too long for the URL of its frame.".

inPageValue: (params: { input: string; reason: string; }) => string

Note of an isolated playground in the page because a value can't be put in a URL. Default: "This playground runs in the page because the value of {input} ({reason}) can't be sent to its frame.". Values: input, the input or the path of the value in it, such as options.onSelect; reason, what the value is, in English, such as "a function".

invalidJson: string

Shown when the text of a JSON control is not valid JSON. Default: "Invalid JSON".

invalidNumber: string

Shown when the text typed in the field of an array of numbers is not a number. Default: "Not a number".

itemKeys: string

Describes the keys of an item of an array control for assistive technology. Default: "Alt+Left or Alt+Right to move, Delete to remove".

itemMoved: (params: { item: string; position: number; count: number; }) => string

Announced when an item of an array control moves. Default: "{item}: {position} of {count}". Values: item, the item as the control shows it; position, its new position, from 1; count, the number of items.

missing: string

Shown in the iframe of an isolated playground when the page has no such playground. Default: "This playground does not exist.".

noMatches: string

Shown when no value of an array of a union matches the typed text. Default: "No matches".

recreate: string

The setting that recreates the demo on every change. Default: "Recreate".

recreateHint: string

Description of the Recreate setting. Default: "Recreates the demo every time one of the inputs changes".

removeItem: (params: { item: string; }) => string

Accessible name of the button that removes an item of an array control. Default: "Remove {item}". Values: item, the item as the control shows it.

reset: string

The button that resets the inputs. Default: "Reset".

resetToDefault: string

The button that resets a union type to its default. Default: "Reset to the default value".

settings: string

Section of the inputs without a group. Default: "Settings".

suggestions: string

Accessible name of the suggestions of an array control. Default: "Suggestions".

title: string

Title of the inspector. Default: "Playground".

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