W3cubDocs

/Angular 12

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/global/ComponentDebugMetadata