DebugElement

Experimental

Class

Class Overview

class DebugElement extends DebugNode {
constructor(nativeNode: any, parent: any, _debugContext: DebugContext)

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[])
insertBefore(refChild: DebugNode, newChild: DebugNode) : void
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, _debugContext: DebugContext)

Class Details

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