DebugNode

class DebugNode { constructor(nativeNode: any, parent: DebugNode | null, _debugContext: DebugContext) listeners: EventListener[] parent: DebugElement | null nativeNode: any injector: Injector componentInstance: any context: any references: {...} providerTokens: any[] }

构造函数

constructor(nativeNode: any, parent: DebugNode | null, _debugContext: DebugContext)

参数

nativeNode

Type: any.

parent

Type: DebugNode | null.

_debugContext

Type: DebugContext.

属性

属性说明
listeners: EventListener[]
parent: DebugElement | null
nativeNode: any 声明于构造函数中
injector: Injector 只读
componentInstance: any 只读
context: any 只读
references: { [key: string]: any; } 只读
providerTokens: any[] 只读