title: primeng: Setting focus on control
body: <p>sorry for the noob question...</p>
  
  <p>what's the recommended way of setting the focus on a control when using the primeng pack? When using a traditional input control, I set up a form variable (#variable) and use the @ViewChild to get a reference to it so that I can access its native element:</p>
  
  <pre><code>this._variable.nativeElement.focus();
  </code></pre>
  
  <p>How can I do the same when using one of primeng's controls?</p>
  
  <p>Thanks.</p>
  
  <p>Luis</p>