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

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