Skip to content

Commit

Permalink
update type defination
Browse files Browse the repository at this point in the history
  • Loading branch information
asif-jalil committed Aug 27, 2023
1 parent 283d649 commit 97a61c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/scroll.carousel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface EventBindings {
/**
* Triggered when the slider moves.
*/
scroll?: (progress?: number) => void;
move?: (progress: number) => void;
/**
* Triggered when the carousel destroyed
*/
Expand All @@ -32,6 +32,10 @@ declare class ScrollCarousel {
* Re initialize the carousel after destroy
*/
reinit(): this;
/**
* The carousel is active or not
*/
isActive: boolean;
}

declare namespace ScrollCarousel {
Expand Down

0 comments on commit 97a61c9

Please sign in to comment.