title: Polymer 1.0: Help using dom-if
body: <p>Can someone please provide an example of proper implementation of <code>dom-if</code>?</p>
  
  <p>No example of proper usage is provided by the <a href="http://polymer.github.io/polymer/" rel="noreferrer">official documentation</a>. <em>(Sorry there is no direct link. Must use menu in upper left and select <code>dom-if</code>).</em></p>
  
  <p>Here is what I have so far. Obviously, it is not working.</p>
  
  <pre><code>&lt;template&gt;
    ...
    &lt;template is="dom-if" if="{{action}}=='Login'"&gt;
         &lt;!-- Also tried: if="{{action=='Login'}}" --&gt;
      &lt;a href="#"&gt;Forgot password?&lt;/a&gt;
    &lt;/template&gt;
    ...
  &lt;/template&gt;
  </code></pre>