Module

Freedom.Virtualized

Package
purescript-freedom-virtualized
Repository
purescript-freedom/purescript-freedom-virtualized

#Config Source

type Config f state a = { height :: Number, rowHeight :: Number, rowView :: a -> VNode f state, rows :: Array a }

The type of virtual list config.

  • height: The px height of container
  • rowHeight: The px height of a row view
  • rowView: The renderer of a row
  • rows: The data for row view

#virtualList Source

virtualList :: forall a state f. Functor (f state) => Config f state a -> VNode f state

Render a virtual list.