Can you hide / show polymer elements with hidden ones? attribute.
<span hidden?="{{showSpan}}">This may or may not be hidden.</span>
if the boolean expression 'showSpan' is true, the span is displayed; otherwise, it is omitted.
You can switch the showSpan state as follows:
<div on-click="{{showinput}}"> <span hidden?="{{showSpan}}">This may or may not be hidden</span> </div> Polymer({ showSpan: false, showinput: function() { this.showSpan = !this.showSpan; } });
martin
source share