itemID
Mark elements for reuse during DOM updates.
Overview
Use the itemID attribute to identify which elements are considered the same so they can be reused during DOM updates. When recreating the DOM, TVMLKit makes any necessary changes at the view level while retaining existing cells that have not been modified.
Values for itemID
- String
The identifier for the item. The identifier must be unique inside its parent DOM element. The identifier does not have to be unique inside of the document.
Elements that Use itemID
itemID can only be used with the following elements inside of the above templates: