title: How to retrieve data with "@input set" in Typescript and Angular 2?
body: <p>I'm dealing with legacy code like this:</p>
  
  <pre><code>@Input() set ratio (ratio: { w: number, h: number }) { this._ratio = ratio || null; }
  ...
  console.log(this._ratio.h);
  </code></pre>
  
  <p>My question is what should I put in the HTML to be able to read that var like that? I tried different things like </p>
  
  <pre><code>ratio="30,30"
  ratio="{w:30,h:30}"
  [ratio]="..."
  </code></pre>
  
  <p>etc. and I can't make it properly set that var.</p>