{"_id":"scrollingelement","_rev":"11-577d6035ac14d90c5fc2c3a1e2760bb4","name":"scrollingelement","description":"A `document.scrollingElement` polyfill.","dist-tags":{"latest":"1.5.2"},"versions":{"1.0.0":{"name":"scrollingelement","version":"1.0.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"bin":"bin","man":"man","test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"man":[],"bin":{},"gitHead":"0c3b04c3a4077c6d64bf12f45a934153467beb21","_id":"scrollingelement@1.0.0","_shasum":"425dcb766315479927c1e6be69fbf0709190e64c","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"425dcb766315479927c1e6be69fbf0709190e64c","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.0.0.tgz","integrity":"sha512-LurGQdwuultYIjZupQUgjOAyJlnkUO1oIGJPaVKQ/jiivpURpZibtbO2xLlL2zGP5dvnu53qQ/JX7E7p87PIFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqjZk196+SzJGNX5WJwMxlmU52UfZD6Ck/9/hwVJYXUAIhAKSIQkhlqqwN+n4N6Ud8Fig34Bqzzl34/QVTrFvFqN/S"}]}},"1.1.0":{"name":"scrollingelement","version":"1.1.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"ff0040b0a5d1c1d9f73885474b32bfac31e7f571","_id":"scrollingelement@1.1.0","_shasum":"dbbf6606fe36096663d04dd8b98157cdbdef1696","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"dbbf6606fe36096663d04dd8b98157cdbdef1696","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.1.0.tgz","integrity":"sha512-36mne4Xb6y8ZR6u8QPCHTMc6p4YrElt8TK6XWA/7GZ84wYD+BSBPYnNd1TuNm/98T7maTYiiYm199TZyp5QVvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOYHUvfq0OtRFS45HGBSjMXoHQC0BhdrPrwevdYTciKgIgZQJ7hG4eLiL5wrOb/H8sAehy9oEcqHRSs1sRmoxrCbw="}]}},"1.2.0":{"name":"scrollingelement","version":"1.2.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"903fdf23a06f57d5311db72ae7be45d5e757c547","_id":"scrollingelement@1.2.0","_shasum":"1fd666eb06cabc510618e70a46957c58e3fd8aa6","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"1fd666eb06cabc510618e70a46957c58e3fd8aa6","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.2.0.tgz","integrity":"sha512-CRplg5f6EkvJclIdfK+jDrhjg9uymNUV9Xi2vcvC7EHqICcWgY2dca+O59yB3sBaeipO7+2u3q3iC7C97iq9mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHVZLGCWwQKGQvB5nfcHWXCpqWPMtFbL754zx5Gj8JsQIhAOM+/DtuABKrC4f8LgstwTvSRDSKMHFYD8M4xEp/WX2e"}]}},"1.3.0":{"name":"scrollingelement","version":"1.3.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"5a3db68dcf273ba3ac244f8f250a3d56bd02e732","_id":"scrollingelement@1.3.0","_shasum":"174095879cbbe2214c6295b94a2402117c043219","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"174095879cbbe2214c6295b94a2402117c043219","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.3.0.tgz","integrity":"sha512-Rc89OvwZR+onpeJ47ZmgbEO55ykOlZCZ1+VH9R8BfgB6JnZO35bM3P6BfsIUkEtD+/xZw0N2b1q/0lgx6+Yzzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYDWBsQDOXaopw7gj4e0q9mfxyajCBqUcVIN7/TibY3gIhANHhXU6cpYHwuUr+l5BMnf6OxgsPk9NHU0pYRVQYCDHs"}]}},"1.4.0":{"name":"scrollingelement","version":"1.4.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"3276069e38021e1d2a6b0d78c54e4d7d91e00603","_id":"scrollingelement@1.4.0","_shasum":"1f19e91c748310caa75c319b9a6f00840319f453","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.3","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"1f19e91c748310caa75c319b9a6f00840319f453","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.4.0.tgz","integrity":"sha512-c4AtK9CYgvV1juBBKiAwnH5JT+1GKqN5VL+g7KcTvVHMMJoNVr9U3Veh8L5m0evL1Fw/KQq3n+lVftcB0KPhRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB16A/4+hUxcJWiwnKVtIJ4sMCab2jl2/2b36eBEEF+lAiB+kBmaRc0joRfUym23JdchFA/4fQg8JSeQSQXi3wEWrQ=="}]}},"1.5.0":{"name":"scrollingelement","version":"1.5.0","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"a9d67e76abaa45979ac2e2f02e57b68bbbd55cbf","_id":"scrollingelement@1.5.0","_shasum":"492860a340518e586bd55059453fa68d75ada7cd","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"492860a340518e586bd55059453fa68d75ada7cd","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.5.0.tgz","integrity":"sha512-nVtTe8cX2PQUCoxjaSagNVW7lB1IAWKbrrRhsiPgLtChHRn+FU55PnGFrVS3vFq2yGtgFA1yCWdVEy0Y4bnXCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEo6x8oSvpy6RTojd4z8oA50jsWEa3mFuYj+szDApxfQIhAKYxx/d0Gfnn3sDJ1HW22D2gGaCpuHhf+6OD4zYKULRr"}]}},"1.5.1":{"name":"scrollingelement","version":"1.5.1","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/scrollingelement.git"},"bugs":{"url":"https://github.com/mathiasbynens/scrollingelement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"11a6d74a6bae1c9931b64bbe129ef7ff61b7b733","_id":"scrollingelement@1.5.1","_shasum":"3e5e15bb18b3fe95b1693ed59af5ee63ea749427","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.8.1","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"3e5e15bb18b3fe95b1693ed59af5ee63ea749427","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.5.1.tgz","integrity":"sha512-/mjBB8sZ+MAMCHOfpiUkuoavpHeNVOlS3gemam2ZS+8iwZb290+i5rwP5rqVYHbPABuU9JI+3E3C1y8+/Jo7Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJF4CG4FfEXzvUjXejfLxB2qCWheItozAdaKoug5PJCQIhAJKYoAAXPSYWdVWmYOPcZZ23Am0HwUAdKplv4iejVzvM"}]}},"1.5.2":{"name":"scrollingelement","version":"1.5.2","description":"A `document.scrollingElement` polyfill.","homepage":"https://mths.be/scrollingelement","main":"scrollingelement.js","keywords":["cssom","dom","scrolling","scrollingelement"],"license":"MIT","author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/document.scrollingElement.git"},"bugs":{"url":"https://github.com/mathiasbynens/document.scrollingElement/issues"},"files":["LICENSE-MIT.txt","scrollingelement.js"],"directories":{"test":"tests"},"scripts":{"test":"http-server & sleep 1; open 'http://0.0.0.0:8080/tests/standards-mode.html'; open 'http://0.0.0.0:8080/tests/quirks-mode.html'; wait; killall node"},"devDependencies":{"qunitjs":"^1.18.0"},"gitHead":"d5758008af879e1e08e84d0c0f4a3ed1cc2f40c9","_id":"scrollingelement@1.5.2","_shasum":"b63b71114d864e3671ca1e854ea1f93af61f107e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"mathias","email":"mathias@qiwi.be"},"maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"dist":{"shasum":"b63b71114d864e3671ca1e854ea1f93af61f107e","tarball":"https://registry.npmjs.org/scrollingelement/-/scrollingelement-1.5.2.tgz","integrity":"sha512-JlnPg3lIjIZSRKMnXyw+QQbmb6IE1KBAvoXCCJxQWBYN8D0SLPsdg0UfHpgwirt9k5yCwuyRTJtgxAgDjgiRNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUe5Tm6I5ikIfB1fTppd8720Q2hih5b5oidVfQzfRobAiEA9sSzzNyjJ01tds+ulY5ZPHMF2UXXGfY+cRV242dcQQY="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/scrollingelement-1.5.2.tgz_1472844795738_0.12790978723205626"}}},"readme":"# `document.scrollingElement`\n\nA polyfill for [`document.scrollingElement` as defined in the CSSOM specification](http://dev.w3.org/csswg/cssom-view/#dom-document-scrollingelement).\n\n## Installation\n\nIn an HTML document:\n\n```html\n<script src=\"scrollingelement.js\"></script>\n```\n\nIt’s recommended to place this right before the closing `</body>` tag.\n\nThe polyfill can be used in `frameset` HTML documents (in that case, place the `<script>` in the `<head>`) or in XML documents as well.\n\n## Browser support\n\nThe polyfill has been tested in the following browsers:\n\n* Chrome\n* Opera 11.64+\n* Firefox 3.5+\n* Internet Explorer 8+ (but [should work even in older versions](https://github.com/mathiasbynens/document.scrollingElement/issues/4))\n* Safari 8+ (but [should work even in Safari 4](https://github.com/mathiasbynens/document.scrollingElement/issues/5))\n\n## Acknowledgements\n\nThanks to [Diego Perini](https://github.com/dperini) ([@diegoperini](https://twitter.com/diegoperini)) for [his `getScrollingElement` implementation](https://gist.github.com/dperini/ac3d921d6a08f10fd10e), and for allowing me to re-use it as part of this polyfill.\n\n## Authors\n\nThis polyfill was written by [Mathias Bynens](https://mathiasbynens.be/) and [Simon Pieters](https://simon.html5.org/), with help from [contributors](https://github.com/mathiasbynens/document.scrollingElement/graphs/contributors).\n\n## License\n\nThis project is available under the [MIT](https://mths.be/mit) license.\n","maintainers":[{"name":"mathias","email":"mathias@qiwi.be"}],"time":{"modified":"2022-06-26T16:55:04.046Z","created":"2015-04-09T22:01:52.529Z","1.0.0":"2015-04-09T22:01:52.529Z","1.1.0":"2015-04-10T09:12:35.272Z","1.2.0":"2015-04-10T15:53:45.908Z","1.3.0":"2015-04-13T15:16:48.360Z","1.4.0":"2015-04-13T20:40:14.687Z","1.5.0":"2015-04-14T14:28:54.540Z","1.5.1":"2015-05-05T07:17:55.733Z","1.5.2":"2016-09-02T19:33:17.873Z"},"homepage":"https://mths.be/scrollingelement","keywords":["cssom","dom","scrolling","scrollingelement"],"repository":{"type":"git","url":"git+https://github.com/mathiasbynens/document.scrollingElement.git"},"author":{"name":"Mathias Bynens","url":"https://mathiasbynens.be/"},"bugs":{"url":"https://github.com/mathiasbynens/document.scrollingElement/issues"},"license":"MIT","readmeFilename":"README.md","users":{"285858315":true}}