I noticed that it scrollIntoViewhas several new parameters since the last view.
Namely, blockand inline. What is the difference between the two? I assume it {block: "start"}will align the top of the element with the top of the page, but I'm not sure how it will be different from inlineor how you will use both of these options at the same time?
source
share