Show:

Class: jqWheelScroll

jqWheelScroll

new jqWheelScroll()

adapters/jqWheelScroll.js, line 12

jquery-mousewheel + jqScroll adapter class for the Scrolled mixin. Adds mousewheel support to jqScroll scrollers.

See:

Extends

  • module:Scrolled

Methods

scroll(){Widget}

adapters/jqWheelScroll.js, line 35

Initializes the jqScroll scroller.

Related options:

  • jqscroll_options: config option for the .scroller() constructor.
  • horizontal: if true then vertical scroller is disabled, as long as grid_layout option is off.
  • grid_layout: if true then vertical scroller will NOT be disabled disabled.

scrollTo(position){Widget}

adapters/jqWheelScroll.js, line 86

Scrolls to specified element or to a specified offset from the parent.

Name Type Description
position HTMLElement | number

the element to scroll to or an offset in pixels to scroll to.

unscroll(){Widget}

adapters/jqWheelScroll.js, line 73

Destroys the scroller instance.