Ninja Programmers Mindmeld
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

prevent-overscroll

0.1.0 • Public • Published

prevent-overscroll

JavaScript library to prevent scrollable elements from scrolling the entire body on iOS.

Usage

var preventOverscroll = require('prevent-overscroll');
 
// Prevent someDOMNode from scrolling the body
var cleanup = preventOverscroll(someDOMNode);
 
// Call cleanup if you remove someDOMNode or want to re-enable overscrolling.
cleanup();

Keywords

none

install

npm i prevent-overscroll

Downloadsweekly downloads

621

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar