| Safe Haskell | None | 
|---|---|
| Language | Haskell98 | 
Reflex.Dom.Widget.Lazy
Documentation
virtualListWithSelection Source
Arguments
| :: (MonadWidget t m, Ord k) | |
| => Int | The height of the visible region in pixels | 
| -> Int | The height of each row in pixels | 
| -> Dynamic t Int | The total number of items | 
| -> Int | The index of the row to scroll to on initialization | 
| -> Event t Int | An  | 
| -> String | The element tag for the list | 
| -> Dynamic t (Map String String) | The attributes of the list | 
| -> String | The element tag for a row | 
| -> Dynamic t (Map String String) | The attributes of each row | 
| -> (k -> Dynamic t v -> m ()) | The row child element builder | 
| -> Dynamic t (Map k v) | The  | 
| -> m (Dynamic t (Int, Int), Event t k) | A tuple containing: a  | 
A list view for long lists. Creates a scrollable element and only renders child row elements near the current scroll position.