Function: viewRect()
ts
function viewRect(
el,
layout,
overscan
): Rect;The part of the layout in view (in layout units), widened by overscan pixels and snapped outwards to a coarse grid so small scrolls give the same rectangle.
Parameters
| Parameter | Type |
|---|---|
el | Element |
layout | Layout |
overscan | number |
Returns
Rect