Mark elements for reuse during DOM updates.


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


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:

  • grid

  • section in the grid or shelf element

  • shelf

  • Any element that can appear in a shelf/section or grid/section combination

See Also

Binding and DOM Manipulation


Associates information in a data item with an element.


Associates a data item type with an element.


Sets the amount of remaining screen lengths before firing the needs more event.