Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

yangg/scrolling-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

document.scrollingElement

Build Status npm:

A polyfill for document.scrollingElement as defined in the CSSDOM specification

Installation

npm install scrolling-element --save

In an HTML document:

<script src="scrolling-element.js"></script>

For Babel and ES2015+, just import the file

import 'scrolling-element'

Which browser need this?

Browser compatibility

Acknowledgements

Thanks to Mathias Bynens for his document.scrollingElement, and for allowing me to simplify the polyfill

License

MIT

About

A polyfill for document.scrollingElement

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published