Show:

Class: jqScroll

jqScroll

new jqScroll()

adapters/jqScroll.js, line 12

jqScroll adapter class for the Scrolled mixin.

See:

Extends

  • module:Scrolled

Methods

scroll(){Widget}

adapters/jqScroll.js, line 34

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/jqScroll.js, line 65

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/jqScroll.js, line 52

Destroys the scroller instance.