Search Results
Flexbox container of card components.
Once the user scrolls to the bottom of the page:
- the
data-nextattribute is checked to see if it contains a URL of more results - if the
data-nextvalue is present, an additional request is made - the loading
cardis shown - once the request JSON is returned
- update the
data-nextvalue - insert the new
cardsearch results - hide the loading
card
This repeats until the data-next attribute is not present.
The scroll event won't be triggered in the documentation.