Skip to content

Commit

Permalink
Enable mouse feature on ghpages
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Rusch authored and Norman Rusch committed Nov 19, 2022
1 parent 9a507d5 commit aa19f4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/script.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Carousel } from '../src/carousel';
import { Buttons } from '../src/features/buttons';
import { Mouse } from '../src/features/mouse';
import { Pagination } from '../src/features/pagination';

var element = document.querySelector('.caroucssel');
Expand All @@ -12,6 +13,7 @@ if (!element) {
new Carousel(element, {
features: [
new Buttons(),
new Mouse(),
new Pagination(),
],
onScroll: function(event) {
Expand Down

0 comments on commit aa19f4e

Please sign in to comment.