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

Change 'paged' callback after initialization #50

@tomagnew

Description

@tomagnew

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions