setDuration((e.target as HTMLInputElement).value)}
/>
{#each timingOptions as opt}
{/each}
{#if isCustomTiming}
x1 = parseFloat((e.target as HTMLInputElement).value) || 0}
/>
y1 = parseFloat((e.target as HTMLInputElement).value) || 0}
/>
x2 = parseFloat((e.target as HTMLInputElement).value) || 0}
/>
y2 = parseFloat((e.target as HTMLInputElement).value) || 0}
/>
{/if}
testAnimating = false}
>
{#if startingStyleEnabled}
@starting-style defines starting values for CSS transitions on elements that gain a display value (e.g., entering the DOM or going from display: none to a visible state). This enables entry animations without JavaScript.
{/if}
{#each timelineOptions as opt}
{/each}
Scroll-driven animations tie progress to scroll position (scroll()) or element visibility (view()).