* The element's own component instance, if it has one.
()
| 83 | * The element's own component instance, if it has one. |
| 84 | */ |
| 85 | get componentInstance(): any { |
| 86 | const nativeElement = this.nativeNode; |
| 87 | return ( |
| 88 | nativeElement && (getComponent(nativeElement as Element) || getOwningComponent(nativeElement)) |
| 89 | ); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * An object that provides parent context for this element. Often an ancestor component instance |
nothing calls this directly
no test coverage detected