DebugElement

Experimental Class

Class Overview

class DebugElement {
  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

doc_Angular
2016-10-06 09:46:24
Comments
Leave a Comment

Please login to continue.