DebugElement

Experimental Class

Class Overview

class DebugElement extends DebugNode {
  constructor(nativeNode: any, parent: any, _debugInfo: RenderDebugInfo)
  
  
  name : string
  properties : {[key: string]: any}
  attributes : {[key: string]: string}
  classes : {[key: string]: boolean}
  styles : {[key: string]: string}
  childNodes : DebugNode[]
  nativeElement : any
  addChild(child: DebugNode)
  removeChild(child: DebugNode)
  insertChildrenAfter(child: DebugNode, newChildren: DebugNode[])
  query(predicate: Predicate<DebugElement>) : DebugElement
  queryAll(predicate: Predicate<DebugElement>) : DebugElement[]
  queryAllNodes(predicate: Predicate<DebugNode>) : DebugNode[]
  children : DebugElement[]
  triggerEventHandler(eventName: string, eventObj: any)
}

Class Description

Constructor

constructor(nativeNode: any, parent: any, _debugInfo: RenderDebugInfo)

Class Details

name : string
properties : {[key: string]: any}
attributes : {[key: string]: string}
classes : {[key: string]: boolean}
styles : {[key: string]: string}
childNodes : DebugNode[]
nativeElement : any
addChild(child: DebugNode)
removeChild(child: DebugNode)
insertChildrenAfter(child: DebugNode, newChildren: DebugNode[])
query(predicate: Predicate<DebugElement>) : DebugElement
queryAll(predicate: Predicate<DebugElement>) : DebugElement[]
queryAllNodes(predicate: Predicate<DebugNode>) : DebugNode[]
children : DebugElement[]
triggerEventHandler(eventName: string, eventObj: any)

exported from @angular/core/index, defined in @angular/core/src/debug/debug_node.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/DebugElement-class.html