NgDocPlaygroundTexts
The texts of the playgrounds () and their controls.
export interface NgDocPlaygroundTexts { … }Members
Properties28 | |
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: |
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: |
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: |
inPageControl: (params: { input: string; }) => string | Note of an isolated playground in the page because the control of an input is not |
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 |
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: |
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 |
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 |
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: |
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: |
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". |