Skip to content

Commit

Permalink
fix: methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Efcolipt committed Jun 10, 2023
1 parent 5cb8589 commit e1618ba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/VueSlickCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
enum ListSlickMethods {
SLICK_METHODS_CURRENT_SLIDE = "slickSlickCurrentSlide",
SLICK_METHODS_CURRENT_SLIDE = "slickCurrentSlide",
SLICK_METHODS_GO_TO = "slickGoTo",
SLICK_METHODS_NEXT = "slickNext",
SLICK_METHODS_PREV = "slickPrev",
Expand Down Expand Up @@ -57,7 +57,7 @@
(method: ListSlickMethods.SLICK_METHODS_PAUSE): void;
(method: ListSlickMethods.SLICK_METHODS_PLAY): void;
(method: ListSlickMethods.SLICK_METHODS_GET_SLICK): SlickInstance;
(method: ListSlickMethods.SLICK_METHODS_UNSLICK): void;
(method: ListSlickMethods.SLICK_METHODS_UNSLICK, fromBreakpoint: number): void;
(
method: ListSlickMethods.SLICK_METHODS_GO_TO,
slideNumber: number,
Expand Down Expand Up @@ -563,18 +563,18 @@
);
},
[ListSlickMethods.SLICK_METHODS_UNSLICK]() {
($slick.value as SlickInstance)(ListSlickMethods.SLICK_METHODS_UNSLICK);
[ListSlickMethods.SLICK_METHODS_UNSLICK](fromBreakpoint: number) {
($slick.value as SlickInstance)(ListSlickMethods.SLICK_METHODS_UNSLICK, fromBreakpoint);
},
[ListSlickMethods.SLICK_METHODS_GO_TO](
slideNumber: number,
dotAnimate: boolean
dontAnimate: boolean
) {
($slick.value as SlickInstance)(
ListSlickMethods.SLICK_METHODS_GO_TO,
slideNumber,
dotAnimate
dontAnimate
);
},
Expand Down

0 comments on commit e1618ba

Please sign in to comment.