mirror of
https://github.com/Tooloop/Tooloop-Packages.git
synced 2026-10-25 18:18:52 +01:00
[onboarding] slide texts, videos, thumbnail
This commit is contained in:
1 parent
0d9fa75134
commit
6a3b46beac
14 files changed
+57
-25
No files matched your search
@@ -79,7 +79,8 @@ class Slider {
|
||||
|
||||
// keyboard shortcuts
|
||||
document.addEventListener("keydown", (e) => {
|
||||
e.preventDefault();
|
||||
if (e.code === "ArrowLeft" || e.code === "ArrowRight")
|
||||
e.preventDefault();
|
||||
});
|
||||
document.addEventListener("keyup", (e) => {
|
||||
if (e.code === "ArrowLeft") this.previous();
|
||||
|
||||
Reference in new issue
Block a user