DebugElement
- interface DebugElement extends DebugNode {
- name: string
- properties: {...}
- attributes: {...}
- classes: {...}
- styles: {...}
- childNodes: DebugNode[]
- nativeElement: any
- children: DebugElement[]
- query(predicate: Predicate<DebugElement>): DebugElement
- queryAll(predicate: Predicate<DebugElement>): DebugElement[]
- queryAllNodes(predicate: Predicate<DebugNode>): DebugNode[]
- triggerEventHandler(eventName: string, eventObj: any): void
-
- // inherited from core/DebugNode
- listeners: EventListener[]
- parent: DebugElement | null
- nativeNode: any
- injector: Injector
- componentInstance: any
- context: any
- references: {...}
- providerTokens: any[]
- }
Properties
Property | Description |
---|---|
name: string
|
Read-only. |
properties: {
[key: string]: any;
}
|
Read-only. |
attributes: {
[key: string]: string | null;
}
|
Read-only. |
classes: {
[key: string]: boolean;
}
|
Read-only. |
styles: {
[key: string]: string | null;
}
|
Read-only. |
childNodes: DebugNode[]
|
Read-only. |
nativeElement: any
|
Read-only. |
children: DebugElement[]
|
Read-only. |