A fast, recycling scrollable list library with no dependencies.
As easy as: baredom.createList(options)
el
: the element you want to use as the scrollable list containercollection
: array of data objects to be represented in the listsubviewHeight
: the height of the list cellssubviewOverscroll
: the amount of list cells to prerendercreateSubview
: afunction (div)
which creates a list cell in the givendiv
elementrenderSubview
: afunction (i, div)
which fills the givendiv
element with the data at indexi