# Stickyfill

A polyfill for `position: sticky` for browsers that don't support it yet.

Essentially [wilddeer/stickyfill](https://github.com/wilddeer/stickyfill) wrapped as a webmodule.

## Installation

```bash
npm install stickyfill
```

## Usage

```javascript
var Stickyfill = require('stickyfill');

// you can optionally pass `document` and `window` for reuse in iframes
var stickyfill = Stickyfill();

// make sure to add the elements you want to polyfill
stickyfill.add(el);
```

## Acknowledgements

Thanks to Oleg Korsunsky ([@wilddeer](https://github.com/wilddeer)), for the excelent polyfill implementation. @wilddeer, if you have any suggestions/comments on the way this is bundled, or want contributor access to this repo or to `npm`, just create an issue and we'll add you. ;)

## License

MIT License
# Stickyfill

A polyfill for `position: sticky` for browsers that don't support it yet.

Essentially [wilddeer/stickyfill](https://github.com/wilddeer/stickyfill) wrapped as a webmodule.

## Installation

```bash
npm install stickyfill
```

## Usage

```javascript
var Stickyfill = require('stickyfill');

// you can optionally pass `document` and `window` for reuse in iframes
var stickyfill = Stickyfill();

// make sure to add the elements you want to polyfill
stickyfill.add(el);
```

For more detailed information, see the [original Readme.md file](https://github.com/wilddeer/stickyfill/blob/master/README.md) on the [wilddeer/stickyfill](https://github.com/wilddeer/stickyfill) repo.

## Acknowledgements

Thanks to Oleg Korsunsky ([@wilddeer](https://github.com/wilddeer)), for the excelent polyfill implementation. @wilddeer, if you have any suggestions/comments on the way this is bundled, or want contributor access to this repo or to `npm`, just create an issue and we'll add you. ;)

## License

MIT License
Add note about original doc.
Add note about original doc.
