How to get the parent DOM element reference of an angular2 component
constructor(elementRef:ElementRef) {
elementRef.nativeElement.parentElement....
}
In your child component pass parent in constructor:
constructor(
private parent: ParentComponent,
...
)
ngAfterViewInit() {
console.log(this.parent);
}