Class: Infinilist

Infinilist

new Infinilist()

Provides scrolling lists with large data sets that behave in a very performance-optimised fashion by controlling the DOM elements currently on screen to ensure that only the visible elements are rendered and all other elements are simulated by variable height divs at the top and bottom of the scrolling list. This module requires that the AutoBind module is loaded before it will work.
Source:
Requires:
  • module:AutoBind

Requires

  • module:AutoBind

Methods

resize()

Handle screen resizing.
Source:

Infinilist

new Infinilist(selector, template, options, view)

Creates an infinilist instance.
Parameters:
Name Type Description
selector Selector A jQuery selector targeting the element that will contain the list items.
template Selector jQuery selector of the template to use when rendering an individual list item.
options Object The options object.
view View The view to read data from.
Source:

Methods

resize()

Handle screen resizing.
Source: