DebugNode

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

构造函数

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

参数

nativeNode

Type: any.

parent

Type: DebugNode | null.

_debugContext

Type: DebugContext.

属性

属性名类型说明
nativeNode
listeners
parent
injector只读
componentInstance只读
context只读
references只读
providerTokens只读