Std.Ui.Virtual
7 public declarations
- clampScroll
Int -> Int -> Int -> Intscrollheld within 0 and the furthest position that still fills the - indexAt
&Array[Int] -> Int -> Option[Int]The row under content coordinate
y, givenoffsets;Noneoutside. - offsets
&Array[Int] -> Array[Int]Content-coordinate tops of rows with the given heights, plus the total
- scrollToShow
&Array[Int] -> Int -> Int -> Int -> IntThe smallest change to
scrollthat shows rowindexwhole, given - visible
Int -> Int -> Int -> Int -> Int -> Std.Ui.Virtual.WindowThe rows of
countequal rows ofrowHeightvisible through a viewport - visibleOf
&Array[Int] -> Int -> Int -> Int -> Std.Ui.Virtual.WindowThe same for rows of varying height, given their
offsets. - Window
The rows of a long list worth placing:
firstthroughlastexclusive,
