Naotoshi Fujita
|
9518f8e03f
Change condition of shifting a carousel.
|
3 years ago |
Naotoshi Fujita
|
da7407c733
Support `>|` for moving a carousel to the last page.
|
3 years ago |
Naotoshi Fujita
|
46c229253f
Remove the `arrowSameIndex` argument.
|
3 years ago |
Naotoshi Fujita
|
b164d15184
Bug Fix: After the carousel is shifted, it may be rewound back when going opposite direction against the shifted one.
|
3 years ago |
Naotoshi Fujita
|
c2f37cb52b
Make sure to cancel the previous scroll before creating new move.
|
3 years ago |
Naotoshi Fujita
|
ce6b005bfe
Refactoring methods related with positions.
|
3 years ago |
Naotoshi Fujita
|
ab0bcb25b7
Support the horizontal mouse wheel.
|
3 years ago |
Naotoshi Fujita
|
06a0c25c10
Use `const` for typing constructors. Add the `lazyload:error` event.
|
3 years ago |
Naotoshi Fujita
|
18710e9d7f
Revise the `jump()` method for the fade type.
|
3 years ago |
Naotoshi Fujita
|
ec867cc23c
`jump()` accepts a control pattern.
|
3 years ago |
Naotoshi Fujita
|
fa747225f7
Add the jump method to Controller. Rename Media to Breakpoints.
|
3 years ago |
Naotoshi Fujita
|
cbc8dddeb7
Refactoring position calculation.
|
3 years ago |
Naotoshi Fujita
|
334559355b
Replace all utility methods with the util package.
|
3 years ago |
Naotoshi Fujita
|
8c02b3aea9
Replace the event system with the util package.
|
3 years ago |
Naotoshi Fujita
|
0521e08c5e
Fix typos and rebuild dist files.
|
3 years ago |
Naotoshi Fujita
|
8d040f626a
Rename the option.
|
3 years ago |
Naotoshi Fujita
|
ef791659b0
Bug Fix: The end index should not be clamped when the compact mode is not enabled.
|
3 years ago |
Naotoshi Fujita
|
50e342d8ec
Bug Fix: Failed to include the first slide while checking the end index.
|
3 years ago |
Naotoshi Fujita
|
5b2eb73a1b
Add the `compact` option.
|
3 years ago |
Naotoshi Fujita
|
9cdf587c53
Fix #848.
|
3 years ago |
Naotoshi Fujita
|
fdb38e4f4c
Bug Fix: Prevent adjusting index at the end when `perMove` is available (#813).
|
3 years ago |
Naotoshi Fujita
|
8aff0998b4
Bug Fix: Rarely the loop carousel rewound itself.
|
3 years ago |
Naotoshi Fujita
|
531ff9afdc
Bug Fix: Updates the active index after the carousel exceeds bounds (#810).
|
3 years ago |
NaotoshiFujita
|
edbaf53125
Bug Fix: Could not reach to the first/end slide if `trimSpace: true` and `rewind: true`.
|
3 years ago |
NaotoshiFujita
|
9de478b2ef
Restores `speed` to the initial value after drag since it's not "non-essential" motion.
|
3 years ago |
NaotoshiFujita
|
3995064102
Compute the valid dest index in the `computeDestIndex` method.
|
3 years ago |
NaotoshiFujita
|
e4d0abed97
Refactoring. Add the `reducedMotion` option.
|
3 years ago |
NaotoshiFujita
|
ac4f590ca7
Calculate the valid dest index before calling `move()`.
|
3 years ago |
NaotoshiFujita
|
65fe958046
Bug Fix: The index after `scroll` could be negative.
|
3 years ago |
NaotoshiFujita
|
c323055b28
Clean up. Add `snap` and `paginationKeyboard` options.
|
3 years ago |