Open Prinzhorn opened 6 years ago
It requires the ^scroll behavior and exposes a method to bring the element into the viewport (by default top/top aligned). The hash-navigation behavior already implements most of what is needed.
el.scrollIntoView.scroll();
It requires the ^scroll behavior and exposes a method to bring the element into the viewport (by default top/top aligned). The hash-navigation behavior already implements most of what is needed.