On this page
DebugNode
class  final 
class DebugNode {
  constructor(nativeNode: Node)
  nativeNode: any
  parent: DebugElement | null
  injector: Injector
  componentInstance: any
  context: any
  listeners: DebugEventListener[]
  references: {...}
  providerTokens: any[]
}
   Subclasses
Constructor
        
          | 
      
nativeNode | 
            Node | 
            
Properties
| Property | Description | 
|---|---|
nativeNode: any | 
       Read-Only  The underlying DOM node.  | 
      
parent: DebugElement | null | 
       Read-Only  The   | 
      
injector: Injector | 
       Read-Only  The host dependency injector. For example, the root element's component instance injector.  | 
      
componentInstance: any | 
       Read-Only  The element's own component instance, if it has one.  | 
      
context: any | 
       Read-Only  An object that provides parent context for this element. Often an ancestor component instance that governs this element. When an element is repeated within ngFor, the context is an   | 
      
listeners: DebugEventListener[] | 
       Read-Only  The callbacks attached to the component's @Output properties and/or the element's event properties.  | 
      
references: { [key: string]: any; } | 
       Read-Only  Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local variable name.  | 
      
providerTokens: any[] | 
       Read-Only  This component's injector lookup tokens. Includes the component itself plus the tokens that the component lists in its providers metadata.  | 
      
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v14.angular.io/api/core/DebugNode