javascript - Animate DOM properties (scrollTop) using Web Animations -
, to be clear just about what we are talking about in any way, I can easily Wanted to scroll through. Using the jQuery You can use to animate Animate function it was always a non-brenner, but it seems that the web is not as easy as animation. Is there any way to use the Web Animation Timing function and apply them to a DOM property (
scrollTop ). The reason I am asking for is that I do not want to load the entire library in my entire application using a different technology / library to use my interpolation function.
scrollTop , e.g.
var a = new animation (L, function (time) {el.scrollTop = el.scrollTop + time * 500;}, 1000);
Comments
Post a Comment