Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event table: about signature of end-user event listener function #699

Open
bscheshirwork opened this issue Apr 26, 2018 · 0 comments
Open

Comments

@bscheshirwork
Copy link

bscheshirwork commented Apr 26, 2018

https://github.com/defunkt/jquery-pjax#events
pjax:success |   | data, status, xhr, options | after replacing HTML content loaded from the server

So... This is part of args of functions. First argument alvays is JQuery event...

I think we can add some examples of all arguments, like this

$(document).on('pjax:success', function(event, data, status, xhr, options) {
console.log(event);
console.log(data);
console.log(status);
console.log(xhr);
console.log(options);
});
@bscheshirwork bscheshirwork changed the title pjax:success args order from docs Event table: about signature of end-user event listener function Jul 30, 2018
bscheshirwork added a commit to bscheshirwork/jquery-pjax that referenced this issue Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant