1.0.1 • Published 2 years ago
show-into-view v1.0.1
show-into-view
scroll the element to the viewable area
Usage
import showIntoView from "show-into-view";
// let target show into view
showIntoView(document.querySelector(".target"));
scroll the element to the viewable area
import showIntoView from "show-into-view";
// let target show into view
showIntoView(document.querySelector(".target"));