Skip to content
@ng-doc/app / Class

NgDocPlaygroundPropertiesComponent

The playground inspector: the demos, and beside them (below them in a container narrower than 640px) the Recreate setting and a control per input and content slot.

Decorators
@Component
Selectors
ng-doc-playground-properties
Generic types
PC
DeclarationTypeScript
@Component({ … })
export class NgDocPlaygroundPropertiesComponent<P extends NgDocPlaygroundProperties, C extends Record<string, NgDocPlaygroundContent>> { … }

Members

Properties

12
contentTypeControl?: NgDocProvidedTypeControl | undefined
protectedreadonly

The control of content slots.

defaultValues: InputSignal<Record<string, unknown> | undefined>
readonly input()

Default values of the inputs; the inspector renders once they are known.

dynamicContent: InputSignal<C | undefined>
readonly input()

Content slots of the playground.

readonly input()required

The form of the playground.

hideSidePanel: InputSignal<boolean>
readonly input()

Whether the inspector is hidden, leaving the demos only.

ignoreInputs: InputSignal<string[] | undefined>
readonly input()

Inputs that get no control.

inspectorPosition: InputSignal<"bottom" | "right">
readonly input()

Where the inspector goes: right of the demos, or below them at full width.

properties: InputSignal<P | undefined>
readonly input()

The inputs of the playground's target.

protectedreadonly

The control of each input, in display order.

recreateDemo: ModelSignal<boolean>
readonly model()

Whether the demo is recreated each time an input changes.

resetForm: OutputEmitterRef<void>
readonly output()

Emits when the reader resets the form.

showResetButton: InputSignal<boolean>
readonly input()

Whether the Reset button is shown.

Methods

1
(…): FormControl<any>

The form control of an input or a content slot.

Symbol
Kind
Class
Decorators
@Component
Selectors
ng-doc-playground-properties
Generic types
PC
Scope
@ng-doc/app
Edit this page