Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 556 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 556 Bytes

jQuery LockScroll

A scroll lock plugin

This plugin lock and unlock the scroll of a specific element.

Usage

Lock

$("#element").lockScroll(true);

Unlock

$("#element").lockScroll(false);

Window shortcut

Use $.lockScroll to lock/unlock the window scroll.

History

v1.0.0

  • Initial Release

v1.1.0

  • Add function to lock and unlock window scroll
  • Update node packages
  • Add package.json missing fields
  • Update test suite to QUnit 2

License

MIT License © Eduardo Pittol