填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

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

  // 继承自 core/global/DirectiveDebugMetadata
  inputs: Record<string, string>
  outputs: Record<string, string>
}
    

属性

属性说明
encapsulation: ViewEncapsulation
changeDetection: ChangeDetectionStrategy