Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

webmodules/stickyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Stickyfill

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

Essentially wilddeer/stickyfill wrapped as a webmodule.

Installation

npm install stickyfill

Usage

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 on the wilddeer/stickyfill repo.

Acknowledgements

Thanks to Oleg Korsunsky (@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

About

A polyfill for `position: sticky` for browsers that don't support it yet. Essentially a webmodule wrapper for wilddeer/stickyfill.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /