1.3.1 • Published 2 years ago

@wireapp/antiscroll-2 v1.3.1

Weekly downloads
626
License
GPL-3.0
Repository
github
Last release
2 years ago

:warning: THIS PROJECT IS NOT OFFICIALLY SUPPORTED! ALL CODE IN HERE IS IN DEVELOPMENT AND LIKELY TO CHANGE WITHOUT WARNING. USE AT YOUR OWN RISK. :warning:


antiscroll-2

Unofficial successor of Antiscroll with the following benefits:

  • More configurable options
  • Release versions
  • Bower support
  • Sourcemap files
  • Stylesheets written in Less
  • Cross-browser support using LESS Hat
  • Documentation according to JSDoc 3
  • Various Antiscroll bug fixes

Usage

$(element).antiscroll(options);

Options

{
  autoHide: <boolean>
  autoResize: <boolean>
  autoWrap: <boolean>
  debug: <boolean>
  marginTop: <number>
  notHorizontal: <boolean>
  notVertical: <boolean>
  notOnMacintosh: <boolean>
  notOnWindows: <boolean>
  onlyOnWindows: <boolean>
  padding: <number>
  startBottom: <boolean>
}

Development

npm install
npm start