Skip to content

Conversation

@cristiangz14
Copy link

Allow to get the right context in the callback function to access the current element.

Allow to get the right context in the callback function to access the current element.
@cristiangz14
Copy link
Author

Example:

$(".el").autoSave(function(){
console.log(this); //Prints "el" element that trigger the autoSave method.
}, 2000);

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

Successfully merging this pull request may close these issues.

1 participant