cleanup advanced use docs
This commit is contained in:
parent
7d69c76120
commit
11fcfd27fd
1 changed files with 0 additions and 7 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue