Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<svg>
<animateTransform id="id_0"></animateTransform>
<rect id="id_1"></rect>
</svg>
<script>
new IntersectionObserver((e1, e2) => {
e2.observe(document.getElementById("id_1"))
}).observe(document.getElementById("id_0"))
</script>