Skip to content

Commit

Permalink
fix(esl-carousel): fix deprecated type usage inside carousel wheel pl…
Browse files Browse the repository at this point in the history
…ugin
  • Loading branch information
ala-n committed Jun 27, 2024
1 parent 4064b9f commit 1c9f8c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {ESLCarouselPlugin} from '../esl-carousel.plugin';
import {ESLCarouselSlideEvent} from '../../core/esl-carousel.events';

/**
* {@link ESLCarousel} auto-play (auto-advance) plugin mixin
* {@link ESLCarousel} autoplay (auto-advance) plugin mixin
* Automatically switch slides by timeout
*
* @author Alexey Stsefanovich (ala'n)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class ESLCarouselWheelMixin extends ESLCarouselPlugin {

/** Handles auxiliary events to pause/resume timer */
@listen({
event: ESLWheelEvent.type,
event: ESLWheelEvent.TYPE,
target: (plugin: ESLCarouselWheelMixin) => ESLWheelTarget.for(plugin.$host, {distance: 1})
})
@decorate(throttle, 400)
Expand Down

0 comments on commit 1c9f8c4

Please sign in to comment.