@eunsatio/ngx-smooth-scroll
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

Agular Smooth Scroll

Demo Version Angular License

Provide simple, configurable, cubic-bezier support smooth scroll for Angular 7+


Contents

Purpose

Javascript Browser APIs has scrollTo and scrollIntoView method. Which allows us to manipulate browser native scroll behavior easily. But some browser does not supports behavior: 'smooth' option. Thus, this methods doesn't have options for duration nor timing-function. And we have to seek for workaround to know when this behavior going to ends. This package is configurable, compatible, easy to use, and uses rxjs.Observable to notify the subscribers when behavior ends.

Installation

NPM

npm install @eunsatio/ngx-smooth-scroll

Issues

If you found any errors or suggestion to this library, please open an issue.

Author

SeemsPyo(@eunsatio) Github, Homepage

/@eunsatio/ngx-smooth-scroll/

    Package Sidebar

    Install

    npm i @eunsatio/ngx-smooth-scroll

    Weekly Downloads

    71

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    614 kB

    Total Files

    41

    Last publish

    Collaborators

    • seemspyo