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

Add bead to support infinite scrolling and dynamic loading of content #134

Closed
Harbs opened this Issue Mar 20, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@Harbs
Copy link
Contributor

Harbs commented Mar 20, 2018

Added InfiniteVScroller in 4628588

The bead can be added to any component which has vertical scrolling. When the scrolling reaches the bottom of the component, the bead dispatches a scrollEnd event which can be handled to add content to the dataProvider or similar.

The bead has two properties: offset and interval. offset allows preemptive requesting content at a specific number of pixels before the bottom of the scroll is reached. interval specifies the minimum number of milliseconds between scrollEnd events to prevent rapid-fire requests.

@Harbs Harbs closed this Mar 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment