Google Chrome v8 对 scrollTo 使用什么缓动函数?
What easing function does Google Chrome v8 use for scrollTo?
Google Chrome v8 为
实现了什么缓动函数
window.scrollTo({ x, y }, { behavior: "smooth" })
Google Chrome (V8) 使用 EaseInOut animation with a delta-based duration over a cubic-bezier timing function (here is the implementation in Chrome, and here is an MIT-licensed implementation) parametrized with these arguments.
Google Chrome v8 为
实现了什么缓动函数window.scrollTo({ x, y }, { behavior: "smooth" })
Google Chrome (V8) 使用 EaseInOut animation with a delta-based duration over a cubic-bezier timing function (here is the implementation in Chrome, and here is an MIT-licensed implementation) parametrized with these arguments.