Files
CollabTable/shared/packages/media-shared-assets/public/js/navigation/pagination-bottom.js
T

15 lines
517 B
JavaScript
Raw Normal View History

/**
* Shared Pagination Component (Bottom)
* The core renderer lives in pagination-top.js as window.NCPagination.
*/
(() => {
window.NCPaginationBottom = {
render(container, state, onPageChange) {
if (!window.NCPagination || typeof window.NCPagination.render !== 'function') {
console.error('NCPagination core is not available. Load pagination-top.js first.');
return;
}
window.NCPagination.render(container, state, onPageChange, 'bottom');
},
};
})();