After jq deletes the element, the touch event is canceled?

I listen for an element"s touch event, and when I delete it, the touch event is not triggered. So how can I delete it so that the touch event can continue to execute? (I am currently copying it, then deleting it, and finally re-assigning it to the copy object. But report an error)

of course, I actually thought of adding touch, to their parent element, even if I delete a child element, the touch event will not be lost, but because I have to do other processing, this is really troublesome, the most concise, the most ideal is the current child element. Is there a good solution to meet my needs? Please advise

Feb.28,2021

that's what you mean.
$parent.on ('touch',' .child', function () {});
then the event will be automatically added

when you delete the corresponding dom and add it.
Menu