HTML Elements Forums ListBox Load items on demand

This topic contains 1 reply, has 2 voices, and was last updated by  Christopher 4 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99566

    Michael20
    Participant

    Hi,

    Is there a way to load items on demand, for example if I scroll to the bottom of the element? I do not wish to have all elements displayed initially..

    Best regards,
    Mike

    #99569

    Christopher
    Participant

    Hi Michael20,

    You can listen for scrollBottomReached or scrollTopReached and insert items when the event is fired. Here’s an example demo

    Best Regards,
    Christopher

    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.