Methods

bind

Binds IAS from to window or document events.

jQuery.ias().bind();

destroy

Unbinds and destroys instance.

extension

Adds a extension to Infinite AJAX Scroll.

jQuery.ias().extension(new anExtension());

initialize

Initializes Infinite AJAX Scroll. Normally this happens when the DOM is ready ($(document).ready()), but if you want to dynamically create an IAS instance after the this event, you can initialize it yourself using this method.

jQuery.ias().initialize();

reinitialize

Reinitializes Infinite AJAX Scroll after a DOM update. DOM updates could be made by page updates via AJAX, like changing the sorting of a list, or filtering a result.

jQuery.ias().reinitialize();

next

Loads the next page.

jQuery.ias().next();

off

Removes an event listener.

jQuery.ias().off('eventName', callback);

on

Adds an event listener.

jQuery.ias().on('eventName', callback [, priority]);

Priority defaults to 0. Listeners with a higher priority get called before ones with a lower priority.

See Events for available events.

one

Adds an event listener that is only triggered once.

jQuery.ias().one('eventName', callback);

See Events for available events.

unbind

Unbinds IAS from any window or document events.

jQuery.ias().unbind();

Something is missing or incorrect in this documentation? Just fork and edit it!