I have:
<k-myelement> <k-anotherelement></k-anotherelement> </k-myelement>
When I define a template as follows:
<polymer-element name="k-myelement"> <template> <content select="k-anotherelement" id="anotherelement"></content> </template> </polymere-element>
I can access the inner element using this.$['anotherelement']
But with this approach, I have to predetermine which internal elements can be used.
What I want is a template method that allows me to access all the internal elements.
source share