UNPKG

taggedjs

Version:

tagged template reactive html

14 lines 453 B
export function elementDestroyCheck(nextSibling, stagger) { const onDestroyDoubleWrap = nextSibling.destroy; // nextSibling.ondestroy const onDestroyWrap = onDestroyDoubleWrap.tagFunction; if (!onDestroyWrap) { return; } const onDestroy = onDestroyWrap.tagFunction; const event = { target: nextSibling, stagger }; return onDestroy(event); } //# sourceMappingURL=elementDestroyCheck.function.js.map