2.3.4 (2023-03-21)
- remove
browser
from package.json (e5c0748)
2.3.3 (2023-03-08)
- types for nodenext in cjs (6e20245)
2.3.2 (2023-03-08)
2.3.1 (2023-03-02)
- nodenext and exports (a455967)
2.3.0 (2023-01-26)
- support scrollend event (5072b41)
2.2.1 (2023-01-26)
- typescript config (0ccb8fe)
2.2.0 (2022-06-24)
2.1.8 (2022-02-19)
- downlevel to es2015 target (d1d7e01)
2.1.7 (2022-02-17)
- use
.cjs
as bundle extension (be50916)
2.1.6 (2021-12-05)
- allow tree-shake if necessary (aae469f)
2.1.5 (2021-10-25)
- change the output target to es2020 for more compatibility (c0f5a08)
2.1.4 (2021-09-23)
- correct nearest position (f194982)
2.1.3 (2021-09-20)
- make sure Element#scroll === HTMLElement#scroll === SVGElement#scroll (0eae3a4)
2.1.2 (2021-09-13)
- call scroll directly to avoid loop deps (c61cf19)
2.1.1 (2021-09-11)
- workaround isConnected for IE (fc88062)
2.1.0 (2021-09-11)
- export universe scroll, scrollTo and scrollBy functions (89a631a)
2.0.2 (2021-09-07)
- add noUncheckedIndexedAccess (de61125)
2.0.1 (2021-08-31)
- element.scrollIntoView in iframe (a7409a3)
2.0.0 (2021-08-22)
- prettier: update prettier config (1578df9)
- for consistency, windowScroll series function parameters changed (f7b76d0)
- reorganize scroll and polyfill functions (f82af52)
- the
ScrollConfig
is separated from theScrollOptions
as the third parameter (c29b463) - rollup: remove auto-polyfill (7ea74f7)
- The output format is only esm(es2021 syntax + es5 lib) and umd. The output file is
changed from
dist
tolib
location. You can import functions directly from the package name instead of nested paths. - The
ScrollConfig
is separated from theScrollOptions
as the third parameter. windowScroll
,windowScrollTo
andwindowScrollBy
now acceptwindow
as the first parameter.- rollup: There is no more
auto-polyfill
. This package is no sideEffects now.