15 lines
517 B
JavaScript
15 lines
517 B
JavaScript
/**
|
|||
|
|
* 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');
|
||
|
|
},
|
||
|
|
};
|
||
|
|
})();
|