Posted By: Anonymous
Sometimes you may want to skip the Shadow DOM completely with Polymer.
You can force your Polymer Element’s template into the Light DOM by overriding
parseDeclaration on your
Polymer() JS/Coffeescript declaration.
Polymer "my-element", parseDeclaration: (elementElement) -> @lightFromTemplate(@fetchTemplate(elementElement))
Of course, you have to be careful because if you have anything that belongs in the Shadow DOM (like a stylesheet) in your template, it will now be in the Light DOM.
Edit: If there’s a better way to do this, please let me know.