我使用的是Javascript方法Element.scrollIntoView() https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
Element.scrollIntoView()
滚动结束时有什么办法可以让我知道.说有动画,或者我已经设定了{behavior: smooth}.
{behavior: smooth}
我假设滚动是异步的,并想知道是否有任何回调像它的机制.
javascript scroll js-scrollintoview
javascript ×1
js-scrollintoview ×1
scroll ×1