renderer

Custom function for rendering the content of every item. Receives three arguments:

  • root The render target element representing one item at a time.

  • virtualList The reference to the <vaadin-virtual-list> element.

  • model The object with the properties related with the rendered item, contains:

  • model.index The index of the rendered item.

  • model.item The item.