Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
Say hello to Angular's future home!Check out Angular.devHome
/

ComponentDebugMetadata

Partial metadata for a given component instance. This information might be useful for debugging purposes or tooling. Currently the following fields are available:

  • inputs
  • outputs
  • encapsulation
  • changeDetection
      
      interface ComponentDebugMetadata extends DirectiveDebugMetadata {
  encapsulation: ViewEncapsulation
  changeDetection: ChangeDetectionStrategy

  // inherited from core/global/DirectiveDebugMetadata
  inputs: Record<string, string>
  outputs: Record<string, string>
}
    

Properties

Property Description
encapsulation: ViewEncapsulation
changeDetection: ChangeDetectionStrategy