JosefJezek
1/30/2017 - 12:15 PM

Polymer Slack Answers

Polymer Slack Answers

Polymer Slack Answers

What's the best way to only show an element if a with class="myclass" exists?

div ~ ::content .myclass

<div class="singleimage">
  <content select=".mainview"></content>
</div>
<div class="horizontal-border"></div>

.singleimage ::content .mainview ~ .horizontal-border

polymer serve with proxy

node ./node_modules/polyserve/bin/polyserve -p 5100 -P h2 --proxy-path api --proxy-target http://localhost:9000/api/