HTML Elements › Forums › ListBox › Load items on demand
Tagged: angular list box, custom element, custom element list box, lazy load list box, lazy loading items, list box, load on demand, smart-list-box, web components
This topic contains 1 reply, has 2 voices, and was last updated by Christopher 6 months, 2 weeks ago.
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
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
You must be logged in to reply to this topic.