Class: Item

Item


new Item(virtualScroller, itemRenderCb, data [, index] [, options])

Parameters:
Name Type Argument Default Description
virtualScroller VirtualScroller
itemRenderCb function
data Object
index Number <optional>
0
options Object <optional>
{}

Members


data :Object

Type:
  • Object

element :HTMLElement

Type:
  • HTMLElement

index :Number

Type:
  • Number

isDirty :Boolean

Type:
  • Boolean

options :Object

Type:
  • Object

Methods


appendTo()

Append to element.


destroy()

Destroy the item.


detach()

Detach the item.


render()

Render the item.


update()

Update the item.