Spec-Zone.ru › Angular 2

DebugElement

Experimental Class

Обзор класса

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)
}

Описание класса

Конструктор

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)

экспортировано из @angular/core/index, определено в @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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API