• Overview
@angular/core

ComponentMirror

interface

An interface that describes the subset of component metadata that can be retrieved using the reflectComponentType function.

  
    interface ComponentMirror<C> {}
  
  

selector

string

The component's HTML selector.

type

Type<C>

The type of component the factory will create.

inputs

readonly { readonly propName: string; readonly templateName: string; readonly transform?: ((value: any) => any) | undefined; readonly isSignal: boolean; }[]

The inputs of the component.

outputs

readonly { readonly propName: string; readonly templateName: string; }[]

The outputs of the component.

ngContentSelectors

readonly string[]

Selector for all elements in the component.

isStandalone

boolean

Whether this component is marked as standalone. Note: an extra flag, not present in ComponentFactory.

Jump to details