Closed tomalec closed 9 years ago
So juicy-tile-list
will stamp out children template
elements?
I'm not sure I get what you mean. But my idea is so juicy-tile-grid
will not use template/shadow root of juicy-tile-list
at all.
It should be also make it easier to migrate to VanillaJS
Disregard my previous comment, I didn't get it. Now I do :) Sounds like a good idea.
It seems that currently we inherit template only, to get
<div id="container"></div>
as most of the styles are different. What is even worse it requires more style rules, and more hacky selectors to overwritejuicy-tile-list
styles, and leads to confusing problems like #21.I suggest to use independent template in juicy-tile-grid, especially that in latest editor's draft of Shadow DOM spec only one shadow root will be available.
With #22, almost none style rules from
-list
will be needed in-grid
.