Naotoshi Fujita
|
7b29da3420
Implement the "overflow" feature.
|
3 years ago |
Naotoshi Fujita
|
2b0b7f489e
Reformat code.
|
3 years ago |
Naotoshi Fujita
|
514a2ccff2
Refactoring with `Media#set()`. Add `transformIgnorePatterns` to fix the issue that jest fails to rename caches.
|
3 years ago |
Naotoshi Fujita
|
3449e06e86
Performance optimization. Keep user options after breakpoints hit.
|
3 years ago |
Naotoshi Fujita
|
453ae886e2
Make `label` and `labelledby` options responsive for destruction.
|
3 years ago |
NaotoshiFujita
|
edb9d44575
Tweak comments.
|
3 years ago |
NaotoshiFujita
|
4dac4bee1f
Add `reduce()` method to Media and refactoring the code.
|
3 years ago |
NaotoshiFujita
|
dd717a21c2
Use a prototype for options.
|
3 years ago |
NaotoshiFujita
|
ff79c0cc7f
Bug Fix: `width` and `height` were not restored by breakpoints.
|
3 years ago |
NaotoshiFujita
|
b212a6bc43
Refactoring. Fix the incorrect return type.
|
3 years ago |
NaotoshiFujita
|
c73a91a323
Add the `matches` method.
|
3 years ago |
NaotoshiFujita
|
27417acd7d
Make `breakpoints` behave same as CSS media query, using all options whose query matches.
|
3 years ago |
NaotoshiFujita
|
e4d0abed97
Refactoring. Add the `reducedMotion` option.
|
3 years ago |
NaotoshiFujita
|
a3a6f7fb4e
The `direction` option becomes responsive. Add the `paginationDirection` option.
|
3 years ago |
NaotoshiFujita
|
be18e26e56
Did not need to register initial options to queries because of `accumulate()`.
|
3 years ago |
NaotoshiFujita
|
80445b6723
Revised the internal event system by utilizing native events.
|
3 years ago |
NaotoshiFujita
|
d74f636504
Rename the Options component to "Media" and handle media queries by the component.
|
3 years ago |