You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting. How would it behave in case of multiple .first, .second elements? With single element like this document.arrive('.elem', function() {}) it keeps on firing whenever an element is added to DOM.
I wanted this too, but that's a good point @uzairfarooq! I guess at least in an initial implementation, it would only ever fire once? Might be a bit unclear though...
I'm writing code that should run when two specific elements both exist. They could be created in any order. I'd like to do something like this:
or perhaps this:
Any interest in adding this sort of thing, or is there a straightforward workaround?
The text was updated successfully, but these errors were encountered: