Skip to content

Commit 96b8b17

Browse files
committed
feat(core): convert Scrollbar to functional module
1 parent 1c718d0 commit 96b8b17

File tree

2 files changed

+137
-194
lines changed

2 files changed

+137
-194
lines changed

src/modules/pagination/pagination.js

+7
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,11 @@ export default function Pagination({ swiper, extendParams, on, emit }) {
394394
$el.toggleClass(swiper.params.pagination.hiddenClass);
395395
}
396396
});
397+
398+
Object.assign(swiper.pagination, {
399+
render,
400+
update,
401+
init,
402+
destroy,
403+
});
397404
}

0 commit comments

Comments
 (0)