cleanup advanced use docs

This commit is contained in:
Sudev Kiyada 2025-07-24 14:02:50 +05:30
parent 7d69c76120
commit 11fcfd27fd
Failed to extract signature

View file

@ -424,14 +424,7 @@ Here is a [demo](?path=/story/components-graphics-scrollyvideo--advanced) that u
jump: false,
});
}
animationFrame = requestAnimationFrame(jumpVideo);
}
// Cancel requestAnimationFrame on destroy
onDestroy(() => {
cancelAnimationFrame(animationFrame);
});
</script>
<ScrollerBase bind:index query="div.step-foreground-container">