Can the leave function optionally check if the target element is non-existent?
Mattwmaster58 opened this issue · 2 comments
Mattwmaster58 commented
It would be really nice (:
uzairfarooq commented
The leave
can still work even if there's no target element because the leave
takes a selector and an element with the selector can be added to DOM at any time in future.
Would make sense if we add support in leave
to take an element as argument.
Mattwmaster58 commented
Feel to free to reopen if this is a good idea, but I have no idea what I was asking for here.