Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Change 'paged' callback after initialization #50

Open
tomagnew opened this issue Dec 2, 2015 · 0 comments
Open

Change 'paged' callback after initialization #50

tomagnew opened this issue Dec 2, 2015 · 0 comments

Comments

@tomagnew
Copy link

tomagnew commented Dec 2, 2015

I'm wondering if it is possible to update the 'paged' callback function after the initialization of the jqPagination control?

If I try doing

(“.pagination”).jqPagination({paged: newCallback})

it seems to add that callback to the original one.

Do I need to do domething like

(“.pagination”).jqPagination('destroy')
and then re-initialize with new 'paged' callback?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant