Open xdega opened 4 years ago
Implement an infinite scroll for blog and portfolio index pages. This will trigger an api request to append 5-10 new items to the list items state, once the user reaches the bottom of the page.
blog
portfolio
New api interfaces should be written which accept params to paginate items via the offset and limit: https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module/pagination
An action should be written, which will call the API and append to the items data object.
Implement an infinite scroll for
blog
andportfolio
index pages. This will trigger an api request to append 5-10 new items to the list items state, once the user reaches the bottom of the page.New api interfaces should be written which accept params to paginate items via the offset and limit: https://www.drupal.org/docs/core-modules-and-themes/core-modules/jsonapi-module/pagination
An action should be written, which will call the API and append to the items data object.