Hello,
I'm planning to create a gallery that is updated dynamically with elements, while the user scrolls the page down. I've seen the sample code in this page:
Basically, the content of the Gallery (grid) is provided by the elements in the table "items" and all the elements are rendered using the template
|
<template repeat="{{item in items}}"> |
|
I'm wondering if a solution for my needs would be the following:
- Update the items table, using AJAX requests, to push elements into the "items" array (Would I face performance issues because of a refresh of all the HTML elements updated again, although not changed ??? )
- Start the AJAX request when the user scrolls to some point of the screen ( Any easy way to have acheive that ???)
Thanks,
Omar