Skip to content

Commit

Permalink
fix(types): add missing AutoplayMethods members (#5956)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiGR authored Aug 12, 2022
1 parent db08a70 commit 6220c22
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/types/modules/autoplay.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ export interface AutoplayMethods {
*/
running: boolean;

/**
* Whether autoplay is paused
*/
paused: boolean;

/**
* Pause autoplay
*/
pause(speed?: number): void;

/**
* Run the autoplay logic
*/
run(): void;

/**
* Start autoplay
*/
Expand Down

0 comments on commit 6220c22

Please sign in to comment.