How to set a timed transition to the .scrollIntoView behavior: smooth?

后端 未结 0 1479
刺人心
刺人心 2020-11-21 17:27

This is my code:

    document.querySelector(#theId).scrollIntoView({
      behavior: "smooth",
    });

I have gone to the documenta

相关标签:
回答
  • 消灭零回复
提交回复
热议问题