Skip to content

Example of lazy loading when element is scrolled into viewport? #1326

@mspanish

Description

@mspanish

Hello I've seen the actions for components, and in the issue for this addition here - #1247 - and while it mentions the idea of using a lazyload, from the samples here I'm not sure how one would actually go about adding a lazy load for items. I have a gallery of icons - and by default I load 50 of them when the user loads the collection, but I'd like to load additional icons as the user scrolls down. My old app uses a jQuery lazy loading plugin to do this. Anybody have something like that already going in Svelte? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions