show-into-view
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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"));

/show-into-view/

    Package Sidebar

    Install

    npm i show-into-view

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    7

    Last publish

    Collaborators

    • mm996