NgDocBasePlayground
Base class of the playground classes the builder generates, one per playground and selector. A generated class renders the playground template with the target's inputs bound to properties(), and queries the target with .
- Decorators
@Directive - Implements
Pick<NgDocPlaygroundConfig , "data">OnInit
@Directive ()
export abstract class NgDocBasePlayground
implements Pick<NgDocPlaygroundConfig , 'data'>, OnInit { … }Members
Constructor1 | |
() | — |
Signature | |
Static Properties1 | |
selector: string | — |
Properties9 | |
actionData: | The |
changeDetectorRef: | — |
configData: Record<string, unknown> | The |
content: | Whether each content slot is shown, by slot name. |
defaultValues: Record<string, unknown> | The default values of the target's inputs, read before the template binds them. |
playground: | The instance of the target in the playground template; a pipe has none. |
properties: | Values of the target's inputs, by property name. |
target: | The class the playground shows: a component, a directive or a pipe. |
viewContainerRef: | The view container of the target in the playground template; a pipe has none. |
Accessors2 | |
get data: any | The playground |
get onReattached: | Emits once, after the view is attached again and checks the template's bindings. |
Methods1 | |
(): void | — |
Signature Returns void | |