Questions tagged [dom-repeat]

66 questions
5
votes
1 answer

dom-repeat with parameterized template

What is the clean way, with Polymer 2.0, to parameterize the dom-repeat item template ? Usage: CustomComponent:
fso
  • 144
  • 2
  • 14
4
votes
2 answers

re-sort Polymer dom-repeat after change of value in child

I have a Polymer dom-repeat list where the children get sorted o.k. on the initial value. When I change the a value inside of the child, the depending sort order of the list is not updated. How can I best achieve that? …
MGR Programming
  • 655
  • 6
  • 10
3
votes
1 answer

Can I use dom-repeat on slotted content to wrap each slotted child inside some tag?

I'd like to use dom-repeat to wrap a bunch of child nodes in
  • tags. The problem is, the nodes I want to repeat are custom elements themselves, inserted via a slot, and it seems that dom-repeat only takes data passed via attributes. What I want…
  • Elise
    • 5,086
    • 4
    • 36
    • 51
    3
    votes
    2 answers

    Polymer - dom-repeat & caching of element data in DOM tree

    following scenario: I have a Firebase database containing a list that is used to create a set of "paper-cards" with dom-repeat: