Reputation: 3412
Is it possible to control the rendering of an element in polymer? I do have multiple paper-tabs and I want to render only the visible content first and after that render it in the background or render it on visible. I want to optimize that, because I have a lot of elements in every tab and the rendering performance is not so good.
I'm using the latest polymer version 1.7
Edit: The hidden attribute of the web component doesn't effect the rendering.
Upvotes: 0
Views: 69
Reputation: 2964
Here are some ways in which you can achieve this
dom-if
and make dom-if
true only when tab is selectedUpvotes: 0