Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 + Made isPlaying a clear boolean method
  • Loading branch information
EnricoMessall committed Mar 11, 2023
1 parent d962143 commit def3b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/carousel/carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ export class Carousel implements AfterContentInit {
}
}

isPlaying(){
return this.interval;
isPlaying(): boolean{
return !!this.interval;
}

onTransitionEnd() {
Expand Down

0 comments on commit def3b0a

Please sign in to comment.