W3cubDocs

/Angular

ComponentDebugMetadata

interface

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

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/global/ComponentDebugMetadata