Skip to content

Commit

Permalink
feat(core): convert Scrollbar to functional module
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 4, 2021
1 parent 1c718d0 commit 96b8b17
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 194 deletions.
7 changes: 7 additions & 0 deletions src/modules/pagination/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,11 @@ export default function Pagination({ swiper, extendParams, on, emit }) {
$el.toggleClass(swiper.params.pagination.hiddenClass);
}
});

Object.assign(swiper.pagination, {
render,
update,
init,
destroy,
});
}
Loading

0 comments on commit 96b8b17

Please sign in to comment.