Module
Grain.Virtualized
- Package
- purescript-grain-virtualized
- Repository
- purescript-grain/purescript-grain-virtualized
#Props Source
type Props a = { calcRowHeight :: a -> Number, height :: Number, rowView :: { row :: a, style :: String } -> VNode, rows :: Array a }
The type of virtual list props.
height
: The px height of containerrows
: The data for row viewrowView
: The renderer of a rowcalcRowHeight
: The calculator of a row view's px height
#virtualList Source
virtualList :: forall a. Props a -> VNode
Render a virtual list.
- Modules
- Grain.
Virtualized