title: Condition in v-bind:Style
body: <p>I have an easy question for which I hope you could help:</p>
  
  <pre><code>&lt;div&gt;
    &lt;figure :style="{ 'background': 'url(' + item.main_featured + ') center no-repeat' }"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want the style attribute 'background' to return color if the URL from API is undefined</p>
  
  <p>Example:</p>
  
  <p>If item.featured_photo is not null:</p>
  
  <pre><code>&lt;figure style="background: url('localhost:6969/image.img') center no-repeat"&gt;
  </code></pre>
  
  <p>If item.featured_photo is null:</p>
  
  <pre><code>&lt;figure style="background: #FFF"&gt;
  </code></pre>