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

Usage #3

Open
kevinr90 opened this issue Aug 14, 2016 · 1 comment
Open

Usage #3

kevinr90 opened this issue Aug 14, 2016 · 1 comment

Comments

@kevinr90
Copy link

Hello,

I don't understand the usage of this. If I want to run a function when the BUTTON element appears, what code should I write?

<div class="container">
  <button class="button">Button</button>
</div>
@janmisek
Copy link
Owner

$('.container').elementReady('.button', function() {
   // button is there
});

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

2 participants