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 |