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 : <template is="dom-repeat" items="{{items}}"> <my-element card="{{item}}"> <paper-card id="{{card.id}}"> ... </paper-card> </my-element> </template> In the UI, the user can add or delete paper-cards, so items also get deleted in Firebase. Now I realized if I change the CSS of an element (e.g. fadeIn, fadeOut animation) and afterwards delete a card and later add one