title: How do I enable Shady DOM in Polymer 2.0?
body: <p>Polymer 1.x uses <em>Shady DOM</em> by default, but that could be changed at initialization by setting the <code>window.Polymer</code> object before importing <code>polymer.html</code> as follows:</p>
  
  <pre><code>&lt;script&gt;window.Polymer = {dom: 'shadow'};&lt;/script&gt;
  &lt;link rel="import" href="polymer.html"&gt;
  </code></pre>
  
  <p>However, it seems Polymer 2.0 uses <em>Shadow DOM</em> regardless of <code>window.Polymer = {dom: 'shady'}</code>. How do I switch to Shady DOM?</p>