Skip to content

http://api.jquery.com/one/ example needs named parameter #311

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

Closed
therobinkim opened this issue Dec 19, 2016 · 1 comment
Closed

http://api.jquery.com/one/ example needs named parameter #311

therobinkim opened this issue Dec 19, 2016 · 1 comment

Comments

@therobinkim
Copy link

$( "#foo" ).one( "click mouseover", function() {
  alert( "The " + event.type + " event happened!" );
});

needs an event in the callback function parameter list

$( "#foo" ).one( "click mouseover", function(event) {
  alert( "The " + event.type + " event happened!" );
});

http://api.jquery.com/one/

@scottgonzalez
Copy link
Member

This repo is for api.jqueryui.com.

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

No branches or pull requests

2 participants