Closed
Description
The documentation has a lot of examples of polymer-element
s with attributes, but aside from mentioning that child elements are possible at http://www.html5rocks.com/en/tutorials/webcomponents/customelements/, I don't see anything about how to use the templating engine to generate different shadow-dom based on the child elements of the polymer-element
.
For example, maybe I want to implement the dateRangePicker
from http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/#toc-projection. Or maybe I want to generate a shadow-table
whose rows depend on which child elements are present, but then use <content select>
to attach those child elements.
Metadata
Assignees
Labels
No labels