-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy collection rendering #5
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main goal of this ticket will be, to first render only visible part of the lane and afterward to fetch next elements and also render them.
Main tasks:
navigationRight
property should be updated during the 2 rendering stepConfigurable lazy lane rendering
During the first render, the lane is only rendering
10
elements. The lane also should have a right range parameter, which describes how many elements should always be kept on the right side of the focused element. The same parameter should exist also for the left side.Example:
let's say the right range will be
15
and the left one is5
. This way after the first rendering step we have9
elements on the left side from the focused one and0
elements on the left side. Therefore, the second rendering step should additionally fetch6
right elements and5
left elements, also render them. When the user starts moving right and gets the number of elements smaller than15
, the lane should fetch additional15
elements and render them. The same principle is applied on the left side.Configurable parameters:
The text was updated successfully, but these errors were encountered: