antiscroll-2

Mac OS X Lion-styled scrollbars for DOM elements.


Keywords
antiscroll, jquery, mac-osx, plugin, scrollbars, javascript
License
GPL-3.0
Install
bower install antiscroll-2

Documentation


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


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