Conditional style rendering with Vue.js
<p>I have a component which render elements. The width of each element depends on <code>minimized</code> value (<code>true</code> or <code>false</code>). I need conditional style binding without class here.</p>

<p>I tried: </p>

<p><code>{ conversation.minimized == false ? right: $index * 285 + 'px' : right: $index * 150 + 'px' }</code></p>

<p>but it didn't work and i got errors.</p>