1.1.1 • Published 2 years ago

js-sticky-element v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

js-sticky-element

A css position: sticky; but with Javascript and supported across all browsers.

Installation

Use npm to install js-sticky-element.

npm install js-sticky-element --save

Usage

import { stickyElement } from 'js-sticky-element';

stickyElement('.my-element');

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT