NgDocPlaygroundComponent
A playground: an inspector with a control per input and content slot of its target, and a demo per selector (or the pipe) rendered with the chosen values.
- Decorators
@Component - Selectors
ng-doc-playground - Generic types
T- Implements
AfterViewInit
DeclarationTypeScript
@Component ({ … })
export class NgDocPlaygroundComponent <T extends NgDocPlaygroundProperties = NgDocPlaygroundProperties >
implements AfterViewInit { … }Members
Properties9 | |
configuration: | The playground configuration of the page, extended by the options. |
defaultValues: | The default values of the target's inputs, reported by the first demo. |
formGroup: | The values of the inputs and content slots. |
id: | The name of the playground in the page configuration. |
options: | Options of the playground action; they extend the playground configuration. |
pipeName: | The name of the pipe, when the target is a pipe. |
properties: | The inputs of the target. |
recreateDemo: | Whether the demo is created again each time a value changes. |
selectors: | The selectors of the target to render a demo for. |
Methods3 | |
(): boolean | — |
Signature Returns boolean | |
(): void | — |
Signature Returns void | |
(): void | Sets every input and content slot back to its default value. |
Signature Returns void | |
No members match.