Module
Freedom.Virtualized
- Package
- purescript-freedom-virtualized
- Repository
- purescript-freedom/purescript-freedom-virtualized
#Config Source
type Config state a = { calcRowHeight :: a -> Number, didCreate :: Element -> Operation state -> Effect Unit, didDelete :: Element -> Operation state -> Effect Unit, didUpdate :: Element -> Operation state -> Effect Unit, height :: Number, rowView :: a -> VNode state, rows :: Array a }The type of virtual list config.
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- Lifecycles
#virtualList Source
virtualList :: forall a state. Config state a -> VNode stateRender a virtual list.
- Modules
- Freedom.
Virtualized