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

Error callback #6

Open
beneverard opened this issue Dec 16, 2011 · 2 comments
Open

Error callback #6

beneverard opened this issue Dec 16, 2011 · 2 comments

Comments

@beneverard
Copy link
Owner

I wonder if it'll be useful to provide a callback for when an invalid entry occurs, handy if a developer wants to extend their implementation to warn when users have done something wrong.

@zikes
Copy link
Contributor

zikes commented Dec 16, 2011

My pull request at #5 could be used to incorporate this as a jQuery event, where the implementation would listen for a jqPagination-error event and react accordingly.

Within the plugin errors could be triggered with base.trigger('error', args).

@beneverard
Copy link
Owner Author

Hi Zikes,

You're right, your event pull request would indeed do this. When the time comes (I'm not ready yet) I'll see to implementing your code with a view to solve this and other related issues.

Many thanks :-)

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

2 participants