Angular 5 - Select Component DOM Element

import { Renderer } from '@angular/core';

export class MyBeautifulClass implements OnInit {

  constructor(private renderer: Renderer) { }

  ngOnInit() {
  }

  getDOMElement(): void {
    let element = this.renderer.selectRootElement('.my-element');
  }