import type { BaseConfig, BaseProps, ScrollInViewProps, WithScrolledInViewProps } from '@studiometa/js-toolkit'; import { AbstractScrollAnimation } from './AbstractScrollAnimation.js'; export interface ScrollAnimationTargetProps extends BaseProps { $options: WithScrolledInViewProps['$options']; } /** * ScrollAnimationTarget class. * * A component that animates based on scroll progress from a parent `ScrollAnimationTimeline`. * Each target can have its own animation keyframes and play range. * * @example * ```html *