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