Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add scrollwheel support to carousel #902

Closed
howudodat opened this issue Dec 22, 2023 · 0 comments
Closed

add scrollwheel support to carousel #902

howudodat opened this issue Dec 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@howudodat
Copy link

it would be nice to have scroll wheel support in Carousel

	element.addEventListener(EventType.wheel, evt -> {
		WheelEvent we = Js.cast(evt);
		if (we.deltaY > 0) nextSlide();
		if (we.deltaY < 0) prevSlide();
	});
@vegegoku vegegoku self-assigned this Jan 14, 2024
@vegegoku vegegoku added the enhancement New feature or request label Jan 14, 2024
@vegegoku vegegoku added this to the 2.0.2 milestone Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants