title: Angular 6 - @ViewChild Access value of nativeElement span class
body: <p>I am using @ViewChild is Angular.</p>
  
  <p>On my <strong>app.component.html</strong> I have:</p>
  
  <pre><code>&lt;div #somename&gt;Mark&lt;span class="somethingelse"&gt;Hello something else&lt;/span&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And on my <strong>app.component.ts</strong></p>
  
  <pre><code>@ViewChild('somename') SomeName;
  
    constructor() {}
  
    getInputValue() {
   alert(this.SomeName.nativeElement('span').getElementByClassName('somethingelse').innerHTML);
    }
  </code></pre>
  
  <p>This is not returning anything.</p>
  
  <p>My question is how to I target the span's class and get it's value?</p>