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-pagination').jcarouselPagination('reload', {
    'perPage': 3
});

destroy

Description

destroy()

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

Example

$('.jcarousel-pagination').jcarouselPagination('destroy');

reloadCarouselItems

Description

reloadCarouselItems()

Reloads the carousel items. Call this method after you have added/removed items from the carousel.

Example

$('.jcarousel-pagination').jcarouselPagination('reloadCarouselItems');