The new Pager module is an upgrade from the Paginator module (v1). The latter has limitations due to its design, such as only supporting post loops and somewhat fixed structure of pagination.
Features to support described in #21
Rewrite in TypeScript
Use React/Preact or vanilla JS for pager elements instead of jQuery
Use API module using fetch instead of AJAX module using jQuery.ajax
Accessibility
Support any loop type
Support dynamic loading, for example, in page builder preview
Separate general-purpose functionality to Framework
The new Pager module is an upgrade from the Paginator module (v1). The latter has limitations due to its design, such as only supporting post loops and somewhat fixed structure of pagination.
fetch
instead of AJAX module usingjQuery.ajax