Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/noeldelgado/get-scrollingelement

:scroll: Returns a reference to the Element that scrolls the document
https://github.com/noeldelgado/get-scrollingelement

scrollingelement

Last synced: 22 days ago
JSON representation

:scroll: Returns a reference to the Element that scrolls the document

Awesome Lists containing this project

README

        

# get-scrollingelement [![npm-image](https://img.shields.io/npm/v/get-scrollingelement.svg)](https://www.npmjs.com/package/get-scrollingelement) ![license-image](https://img.shields.io/npm/l/get-scrollingelement.svg)

Returns a reference to the Element that scrolls the document.

## Install

```sh
npm i get-scrollingelement --save
```

## Usage

```js
import GetScrollingElement from 'get-scrollingelement';

const scrollingElement = GetScrollingElement();
```

## License
MIT © [Noel Delgado](http://pixelia.me/)