I created a form using the form api that outputs a list of results via an ajax callback. I want the said view to paginated. How can i do that? I'm using drupal 8 and don't want to use embeded views.
The Drupal 8 Api has an example on how to create paged content: https://api.drupal.org/api/drupal/core!includes!pager.inc/function/pager_default_initialize/8.2.x