API

After initialization, you can call the following methods on the plugin instance:

reload

Description

reload([options])

Reloads the plugin. This method is useful to reinitialize the plugin or if you want to change options at runtime.

Arguments

Example

$('.jcarousel-control').jcarouselControl('reload', {
    target: '+=3'
});

destroy

Description

destroy()

Removes the plugin functionality completely. This will return the element back to its initial state.

Example

$('.jcarousel-control').jcarouselControl('destroy');