@neshel-ui/animations/cinematic
Todas las exportaciones de @neshel-ui/animations/cinematic, generadas desde sus declaraciones.
Experimental y no disponible en npm
Firmas, miembros y valores por defecto, generados desde las declaraciones compiladas. Las explicaciones y los ejemplos están en la guía.
Las descripciones de esta referencia se generan desde el código fuente del paquete y se muestran en inglés; las guías y el catálogo están en español.
CameraStagecomponentC03: a stage (viewport) over a large canvas; the camera pans and zooms the canvas.
({ label, camera, minZoom, maxZoom, bounds, padding, followFocus, initial, reducedMotion, canvasClassName, canvasStyle, className, children, ref, ...rest }: CameraStageProps): ElementChaptercomponentA chapter of the nearest `<SceneChapters>`; marked `data-active` while active.
({ id, weight, children, ref, ...rest }: ChapterProps): ElementCurtainRevealcomponentC05: a curtain (two drapes) or a shutter (slats) opens over the content.
({ pattern, slats, ...props }: CurtainRevealProps): ElementDepthOfFieldcomponentC08: its element children are depth layers; layers away from `focus` blur.
({ focus, maxBlur, falloff, duration, reducedMotion, className, children, ref, ...rest }: DepthOfFieldProps): ElementLetterboxcomponentC10: cinematic bars slide in from the top and bottom while `active`.
({ active, ratio, size, duration, reducedMotion, className, style, children, ref, ...rest }: LetterboxProps): ElementSceneChapterscomponentC02: chapters and segments scrubbed by a progress source (e.g. a scroll scene) or played on a clock.
({ source, progress, autoplay, unit, reducedMotion, onChapterChange, className, children, ...rest }: SceneChaptersProps): ElementSceneSegmentcomponentA segment of the enclosing `<Chapter>`: its element follows the chapter's progress.
({ effect, options, from, to, span, asChild, children, ref, ...rest }: SceneSegmentProps): ElementSplitRevealcomponentC04: two package-rendered halves part to reveal the content.
({ direction, ...props }: SplitRevealProps): ElementSpotlightcomponentC07: dims the stage except a lit circle around `target`.
({ target, radius, padding, duration, reducedMotion, className, children, ref, ...rest }: SpotlightProps): ElementStoryboardcomponentC09: frames with an opt-in, pausable autoplay (APG carousel semantics).
({ label, autoplay, interval, loop, transition, duration, reducedMotion, labels, onChange, className, children, ref, ...rest }: StoryboardProps): ElementStoryboardFramecomponentA frame of a `<Storyboard>` (its children are the frame content).
({ children }: StoryboardFrameProps): ElementTitleSequencecomponentC06: the element children (consumer lines) enter in sequence over a background.
({ effect, options, interval, background, replay, appear, reducedMotion, onComplete, className, children, ref, ...rest }: TitleSequenceProps): ElementcreateCamerafunction(stage: HTMLElement, canvas: HTMLElement, options?: CameraOptions | undefined): CameracreateCoverfunction(container: HTMLElement, options?: CoverOptions | undefined): CovercreateDepthOfFieldfunction(container: HTMLElement, options?: DepthOfFieldOptions | undefined): DepthOfFieldcreateLetterboxfunction(frame: HTMLElement, options?: LetterboxOptions | undefined): LetterboxControlcreateSceneChaptersfunction(options: SceneChaptersOptions): SceneChapterscreateSpotlightfunction(stage: HTMLElement, options?: SpotlightOptions | undefined): SpotlightcreateStoryboardfunction(root: HTMLElement, frames: readonly HTMLElement[], options?: StoryboardOptions | undefined): StoryboardcreateTimelinefunction(options?: TimelineOptions | undefined): TimelinegetCinematicDebugInfofunctionSnapshot of the cinematic counters (development and tests).
(): CinematicDebugInfotitleSequencefunction(timeline: Timeline, options: TitleSequenceOptions): TimelineuseCamerafunctionA stable handle for `<CameraStage camera={…}>`.
(): CameraHandleuseTimelinefunction(build: (timeline: Timeline) => void, deps?: DependencyList | undefined, options?: (TimelineOptions & { autoplay?: boolean | undefined; }) | undefined): TimelineHandleCamerainterfaceCamera
Camera Prop Tipo Predeterminado Descripción destroy(obligatoria) () => void— — jump(obligatoria) (target: CameraTarget) => void— — pose(obligatoria) Readonly<CameraPose>— — refresh(obligatoria) () => void— Re-measure stage and canvas (after changes no observer can see). to(obligatoria) (target: CameraTarget, options?: MoveOptions) => Promise<unknown>— — track(obligatoria) (target: CameraTarget, options?: TrackOptions) => ValueTrackInput— A timeline track from the last planned pose to target.CameraHandleinterfaceCameraHandle
CameraHandle Prop Tipo Predeterminado Descripción current(obligatoria) Camera | undefined— — jump(obligatoria) (target: CameraTarget) => void— — to(obligatoria) (target: CameraTarget, options?: { duration?: number; }) => Promise<unknown>— — CameraOptionsinterfaceCameraOptions
CameraOptions Prop Tipo Predeterminado Descripción bounds "contain" | "none"— "contain"mantiene el lienzo cubriendo el escenario (por defecto);"none"permite cualquier pose.followFocus booleantrueSe desplaza hasta los elementos que reciben foco de teclado dentro del lienzo (por defecto true). initial Partial<CameraPose>— Pose inicial (por defecto: centro del lienzo con zoom 1). maxZoom number41–10 (por defecto 4). minZoom number0.50.1–1 (por defecto 0.5). onChange (pose: CameraPose) => void— — padding number— Espacio alrededor de un elemento enfocado (0–400, por defecto 24). reducedMotion ReducedMotion— — CameraPoseinterfaceCameraPose
CameraPose Prop Tipo Predeterminado Descripción x(obligatoria) number— — y(obligatoria) number— — zoom(obligatoria) number— — CameraStagePropsinterfaceCameraStageProps
CameraStageProps Prop Tipo Predeterminado Descripción bounds "contain" | "none"— "contain"mantiene el lienzo cubriendo el escenario (por defecto);"none"permite cualquier pose.camera CameraHandle— — canvasClassName string— — canvasStyle CSSProperties— — children ReactNode— — followFocus booleantrueSe desplaza hasta los elementos que reciben foco de teclado dentro del lienzo (por defecto true). initial Partial<CameraPose>— Pose inicial (por defecto: centro del lienzo con zoom 1). label(obligatoria) string— Accessible name of the stage region (required: it is a scrollable region without JS). maxZoom number41–10 (por defecto 4). minZoom number0.50.1–1 (por defecto 0.5). padding number— Espacio alrededor de un elemento enfocado (0–400, por defecto 24). reducedMotion ReducedMotion— — ref Ref<HTMLElement>— — También acepta las props de: React DOM attributes.
ChapterInputinterfaceChapterInput
ChapterInput Prop Tipo Predeterminado Descripción element Element | null— Element marked data-activewhile the chapter is active.id(obligatoria) string— — weight number— Relative length (0.1–10, default 1). ChapterPropsinterfaceChapterProps
ChapterProps Prop Tipo Predeterminado Descripción children ReactNode— — id(obligatoria) string— — ref Ref<HTMLDivElement>— — weight number— Relative length (0.1–10, default 1). También acepta las props de: React DOM attributes.
CinematicDebugInfointerfaceCinematicDebugInfo
CinematicDebugInfo Prop Tipo Predeterminado Descripción clocks(obligatoria) number— — detached(obligatoria) number— — listeners(obligatoria) number— — observers(obligatoria) number— — reads(obligatoria) number— — renders(obligatoria) number— — timelines(obligatoria) number— — waits(obligatoria) number— — CoverinterfaceCover
Cover Prop Tipo Predeterminado Descripción close(obligatoria) (options?: MoveOptions) => Promise<unknown>— — destroy(obligatoria) () => void— — open(obligatoria) (options?: MoveOptions) => Promise<unknown>— — progress(obligatoria) number— 0 covered … 1 open. track(obligatoria) (options?: TrackOptions & { to?: 0 | 1; }) => ValueTrackInput— A timeline track that opens ( to1, default) or closes the cover.CoverOptionsinterfaceCoverOptions
CoverOptions Prop Tipo Predeterminado Descripción covered booleantrueEmpieza cubierto (por defecto true) o abierto. pattern CoverPattern"split-x"Por defecto "split-x".reducedMotion ReducedMotion— — slats number— Lamas de la persiana (2–12, por defecto 6). CurtainRevealPropsinterfaceCurtainRevealProps
CurtainRevealProps Prop Tipo Predeterminado Descripción appear "client" | "always"— Reveal on hydration of server markup too (default false: server content is never covered again). children ReactNode— — duration number— — onOpenChange (open: boolean) => void— — open boolean— Controlled: open (true) or covered (false). Omitted: reveals once when mounted on the client. pattern "curtain" | "shutter"— — reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — slats number— Lamas de la persiana (2–12, por defecto 6). También acepta las props de: React DOM attributes.
DepthOfFieldControlinterfaceDepthOfFieldControl
DepthOfFieldControl Prop Tipo Predeterminado Descripción clear(obligatoria) (options?: MoveOptions) => Promise<unknown>— Everything sharp. destroy(obligatoria) () => void— — focus(obligatoria) (index: number, options?: MoveOptions) => Promise<unknown>— — focused(obligatoria) number— Focused layer, or -1when every layer is sharp.track(obligatoria) (index: number, options?: TrackOptions) => ValueTrackInput— — DepthOfFieldOptionsinterfaceDepthOfFieldOptions
DepthOfFieldOptions Prop Tipo Predeterminado Descripción falloff number— Desenfoque por capa de distancia en px (0–12, por defecto 4). focus number— Capa enfocada inicialmente (por defecto ninguna: todo nítido). maxBlur number— Límite de desenfoque en px (0–12, por defecto 8). priority number0Prioridad sobre el canal filter(por defecto 0).reducedMotion ReducedMotion— — scale number— Reducción de escala por capa de distancia (0–0.1, por defecto 0.02). DepthOfFieldPropsinterfaceDepthOfFieldProps
DepthOfFieldProps Prop Tipo Predeterminado Descripción children ReactNode— — duration number— — falloff number— — focus number— Focused layer (element child index), or -1/omitted for everything sharp. maxBlur number— — reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — También acepta las props de: React DOM attributes.
EffectTrackInputinterfaceEffectTrackInput
EffectTrackInput Prop Tipo Predeterminado Descripción duration number— ms (0–60000). easing Easing | EasingPreset— — effect(obligatoria) PresetInput<any, any>— An Entrance definition (E01–E09/E11) or a preset of one. fill TrackFill— "both"(default) renders the from-state before the start;"forwards"writes nothing before it.id string— Stable id for getTrack/retarget.mode "scrub" | "trigger"— "scrub"(default when the definition accepts an externalprogress): the definition follows the timeline clock — seek, scrub, reverse, interruption."trigger": the definition plays with its OWN clock when the playhead crosses the start (in), or crosses back (out).options object— — target(obligatoria) Styled— — LetterboxControlinterfaceLetterboxControl
LetterboxControl Prop Tipo Predeterminado Descripción destroy(obligatoria) () => void— — hide(obligatoria) (options?: MoveOptions) => Promise<unknown>— — progress(obligatoria) number— 0 hidden … 1 shown. show(obligatoria) (options?: MoveOptions) => Promise<unknown>— — track(obligatoria) (show: boolean, options?: TrackOptions) => ValueTrackInput— — LetterboxOptionsinterfaceLetterboxOptions
LetterboxOptions Prop Tipo Predeterminado Descripción reducedMotion ReducedMotion— — shown booleanfalseEmpieza con las bandas visibles (por defecto false). LetterboxPropsinterfaceLetterboxProps
LetterboxProps Prop Tipo Predeterminado Descripción active boolean— — children ReactNode— — duration number— — ratio number— Visible aspect ratio between the bars (1–4, default 2.39). reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — size string— Fixed bar size (CSS length) instead of ratio.También acepta las props de: React DOM attributes.
MoveOptionsinterfaceMoveOptions
MoveOptions Prop Tipo Predeterminado Descripción duration number— ms (0–10000; por defecto según el efecto). easing Easing | EasingPreset— — PoseinterfacePose
Pose Prop Tipo Predeterminado Descripción blur number— Gaussian blur in px ( filterchannel, arbitrated).opacity number— Opacity factor 0–1 (multiplies with the element's own opacity). rotate number— Rotation in degrees (z axis). scale number— Uniform scale. scaleX number— Horizontal / vertical scale (multiply with scale).scaleY number— — x number— Translation in px. y number— — PoseTrackInputinterfacePoseTrackInput
PoseTrackInput Prop Tipo Predeterminado Descripción duration number— ms (0–60000). easing Easing | EasingPreset— — fill TrackFill— "both"(default) renders the from-state before the start;"forwards"writes nothing before it.from Pose— — id string— Stable id for getTrack/retarget.priority number0Priority of the filterclaim when the pose blurs (default 0).target(obligatoria) Styled— — to(obligatoria) Pose— — ProgressSourceinterfaceProgressSource
Any 0–1 progress source (the 011
ScrollProgressfits).ProgressSource Prop Tipo Predeterminado Descripción get(obligatoria) () => number— — subscribe(obligatoria) (listener: (progress: number) => void) => () => void— — SceneChapterinterfaceSceneChapter
SceneChapter Prop Tipo Predeterminado Descripción end(obligatoria) number— — id(obligatoria) string— — index(obligatoria) number— — start(obligatoria) number— Start and end as fractions of the scene (0–1). SceneChaptersControlinterfaceSceneChaptersControl
SceneChaptersControl Prop Tipo Predeterminado Descripción active(obligatoria) string— Active chapter id. chapterAt(obligatoria) (progress: number) => SceneChapter— — chapters(obligatoria) readonly SceneChapter[]— — destroy(obligatoria) () => void— — drive(obligatoria) (source: ProgressSource) => () => void— Scrub from a progress source; returns the unsubscribe. pause(obligatoria) () => void— — play(obligatoria) () => void— Play the scene on its own clock (no source). seek(obligatoria) (progress: number) => void— Render the scene at a progress (0–1). seekChapter(obligatoria) (id: string) => void— Clock mode: move to a chapter's start. segment(obligatoria) (chapterId: string, track: TrackInput, span?: readonly [number, number]) => this[0, 1]Add a track inside a chapter: spanis[start, end]as fractions of the chapter (default[0, 1]).timeline(obligatoria) Timeline— — SceneChaptersOptionsinterfaceSceneChaptersOptions
SceneChaptersOptions Prop Tipo Predeterminado Descripción chapters(obligatoria) readonly ChapterInput[]— — onChapterChange (id: string, index: number) => void— — reducedMotion ReducedMotion— — unit number— Duración del reloj sin fuente, ms por unidad de peso (100–20000, por defecto 1500). SceneChaptersPropsinterfaceSceneChaptersProps
SceneChaptersProps Prop Tipo Predeterminado Descripción autoplay boolean— Clock mode: play the scene when mounted (no source, no progress).children ReactNode— — onChapterChange (id: string, index: number) => void— — progress number— Controlled progress 0–1 (used when there is no source).reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — source ProgressSource— Scrub source: the useScrollScene()timeline of a<ScrollScene>, or any{ get, subscribe }.unit number1500ms per chapter weight unit in clock mode (default 1500). También acepta las props de: React DOM attributes.
SceneSegmentPropsinterfaceSceneSegmentProps
SceneSegmentProps Prop Tipo Predeterminado Descripción asChild boolean— — children ReactNode— — effect AnyPreset— An Entrance definition or preset (triggered as the chapter crosses it)… from Poseto…or a pose transition ( from→to; defaulttois the identity).options object— — ref Ref<HTMLDivElement>— — span readonly [number, number][0, 1][start, end]as fractions of the chapter (default[0, 1]).to Pose— — También acepta las props de: React DOM attributes.
SplitRevealPropsinterfaceSplitRevealProps
SplitRevealProps Prop Tipo Predeterminado Descripción appear "client" | "always"— Reveal on hydration of server markup too (default false: server content is never covered again). children ReactNode— — direction "x" | "y"— "x": halves part left/right (default);"y": top/bottom.duration number— — onOpenChange (open: boolean) => void— — open boolean— Controlled: open (true) or covered (false). Omitted: reveals once when mounted on the client. reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — También acepta las props de: React DOM attributes.
SpotlightControlinterfaceSpotlightControl
SpotlightControl Prop Tipo Predeterminado Descripción active(obligatoria) boolean— — clear(obligatoria) (options?: MoveOptions) => Promise<unknown>— — destroy(obligatoria) () => void— — focus(obligatoria) (target: Element | SpotlightTarget, options?: MoveOptions) => Promise<unknown>— — track(obligatoria) (target: Element | SpotlightTarget | null, options?: TrackOptions) => ValueTrackInput— A timeline track from the last planned pose to target(or to cleared withnull).SpotlightOptionsinterfaceSpotlightOptions
SpotlightOptions Prop Tipo Predeterminado Descripción padding number— Espacio extra alrededor de la caja del elemento (0–200, por defecto 16). radius number— Radio por defecto del círculo iluminado (24–800, por defecto 120). reducedMotion ReducedMotion— — SpotlightPropsinterfaceSpotlightProps
SpotlightProps Prop Tipo Predeterminado Descripción children ReactNode— — duration number— — padding number— — radius number— — reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — target { current: Element | null; } | Element | null— Element to light (ref object or element); null/omitted clears the spotlight.También acepta las props de: React DOM attributes.
SpotlightTargetinterfaceSpotlightTarget
SpotlightTarget Prop Tipo Predeterminado Descripción radius number— Radius of the lit circle in px (24–800). x(obligatoria) number— — y(obligatoria) number— — StoryboardControlinterfaceStoryboardControl
StoryboardControl Prop Tipo Predeterminado Descripción count(obligatoria) number— — destroy(obligatoria) () => void— — goTo(obligatoria) (index: number) => void— — index(obligatoria) number— — next(obligatoria) () => void— — pause(obligatoria) () => void— — play(obligatoria) () => void— — playing(obligatoria) boolean— The user's intent (not paused by hover/visibility). previous(obligatoria) () => void— — rotating(obligatoria) boolean— Whether the timer is actually running now. stop(obligatoria) () => void— Pause and return to the first frame. StoryboardFramePropsinterfaceStoryboardFrameProps
StoryboardFrameProps Prop Tipo Predeterminado Descripción children ReactNode— — label string"n of N"Accessible label of the frame (default "n of N"). StoryboardOptionsinterfaceStoryboardOptions
StoryboardOptions Prop Tipo Predeterminado Descripción autoplay boolean— Empieza a rotar automáticamente (por defecto false; nunca con movimiento reducido). duration number— ms de un cambio de fotograma (0–2000, por defecto 450). interval number— ms por fotograma en automático (2000–30000, por defecto 5000). loop booleantruePasa del último fotograma al primero (por defecto true). onChange (index: number, cause: "user" | "autoplay") => void— — onPlayingChange (playing: boolean) => void— — reducedMotion ReducedMotion— — start number0Fotograma inicial (por defecto 0). transition "fade" | "slide""fade"Tipo de cambio (por defecto "fade").StoryboardPropsinterfaceStoryboardProps
StoryboardProps Prop Tipo Predeterminado Descripción autoplay boolean— — children ReactNode— — duration number— — interval number— — label(obligatoria) string— Accessible name of the storyboard. labels Partial<Record<"play" | "pause" | "previous" | "next" | "stop", string>>— Control labels (English defaults). loop boolean— — onChange (index: number) => void— — reducedMotion ReducedMotion— — ref Ref<HTMLElement>— — transition "fade" | "slide"— — También acepta las props de: React DOM attributes.
TimelineinterfaceTimeline
Timeline Prop Tipo Predeterminado Descripción add(obligatoria) (track: TrackInput, at?: TimelinePosition) => this— — call(obligatoria) (fn: CallFn, at?: TimelinePosition, options?: { wait?: boolean; reverse?: CallFn; }) => this— — cancel(obligatoria) () => void— — destroy(obligatoria) () => void— Idempotent: cancel, release every track (styles restored), drop listeners. direction(obligatoria) MotionDirection— — duration(obligatoria) number— One iteration in ms. finish(obligatoria) () => void— — finished(obligatoria) Promise<MotionResult>— — getTrack(obligatoria) (id: string) => TrackInfo | undefined— — iteration(obligatoria) number— — label(obligatoria) (name: string, at?: TimelinePosition) => this— — labels(obligatoria) ReadonlyMap<string, number>— — pause(obligatoria) () => void— — play(obligatoria) () => void— — progress(obligatoria) number— — retarget(obligatoria) (trackId: string, to: Partial<Pose> | number) => void— — reverse(obligatoria) () => void— — seek(obligatoria) (progress: number) => void— Progress 0–1 of the current iteration. seekTo(obligatoria) (at: number | string, options?: { fire?: boolean; }) => void— — state(obligatoria) MotionResult["status"] | "idle" | "running" | "paused" | "failed"— — time(obligatoria) number— — timeScale(obligatoria) number— — TimelineHandleinterfaceTimelineHandle
TimelineHandle Prop Tipo Predeterminado Descripción cancel(obligatoria) () => void— — current(obligatoria) Timeline | undefined— The live timeline ( undefinedbefore mount, after unmount and on the server).finish(obligatoria) () => void— — finished(obligatoria) () => Promise<MotionResult | undefined>— Resolves with the live run's result ( undefinedwhen no timeline exists).pause(obligatoria) () => void— — play(obligatoria) () => void— — reverse(obligatoria) () => void— — seek(obligatoria) (progress: number) => void— — seekTo(obligatoria) (at: number | string, options?: { fire?: boolean; }) => void— — TimelineOptionsinterfaceTimelineOptions
TimelineOptions Prop Tipo Predeterminado Descripción conflicts ConflictPolicy— Aviso de conflictos en canales exclusivos (desenfoque de poses, pistas de efectos). onComplete (result: MotionResult) => void— Una vez por ejecución completada. onRepeat (iteration: number) => void— — onStart () => void— — onUpdate (time: number, progress: number) => void— — reducedMotion ReducedMotion— — repeat number— Iteraciones extra: 0 (por defecto) … 1000, o Infinity(solo explícito).timeScale number10.1–10 (por defecto 1). whenHidden "pause" | "finish"— Con la página oculta: detener el reloj (por defecto) o terminar. yoyo booleanfalseAlterna la dirección en cada repetición (por defecto false). TimelineTrackInputinterfaceTimelineTrackInput
TimelineTrackInput Prop Tipo Predeterminado Descripción id string— — timeline(obligatoria) Timeline— — TitleSequenceOptionsinterfaceTitleSequenceOptions
TitleSequenceOptions Prop Tipo Predeterminado Descripción at TimelinePosition— Dónde empieza la secuencia en la línea de tiempo (por defecto, su final actual). background Element | null— — backgroundDuration number— ms (0–10000, por defecto 1200). backgroundFrom Pose{ opacity: 0, scale: 1.08 }Pose inicial del fondo (por defecto { opacity: 0, scale: 1.08 }); termina en la identidad.effect(obligatoria) PresetInput<any, any>— Entrada (definición o preset) ejecutada en cada línea. interval number— ms entre inicios de línea (0–1000, por defecto 120). lines(obligatoria) readonly Element[]— — options object— Opciones combinadas en las del efecto para cada línea. reducedMotion ReducedMotion— — TitleSequencePropsinterfaceTitleSequenceProps
TitleSequenceProps Prop Tipo Predeterminado Descripción appear "client" | "always" | "manual""client"Play on hydration of server markup too (default "client").background ReactNode— Decorative background (rendered aria-hidden).children ReactNode— — effect(obligatoria) AnyPreset— Entrada (definición o preset) ejecutada en cada línea. interval number— — onComplete () => void— — options object— — reducedMotion ReducedMotion— — ref Ref<HTMLDivElement>— — replay string | number | boolean— Changing it replays the sequence. También acepta las props de: React DOM attributes.
TrackInfointerfaceTrackInfo
TrackInfo Prop Tipo Predeterminado Descripción detached(obligatoria) boolean— — duration(obligatoria) number— — id(obligatoria) string | undefined— — kind(obligatoria) "pose" | "value" | "effect" | "timeline"— — progress(obligatoria) number— Last rendered local progress ( NaNbefore the first render).start(obligatoria) number— — TrackOptionsinterfaceTrackOptions
TrackOptions Prop Tipo Predeterminado Descripción duration number— ms (0–10000; por defecto según el efecto). easing Easing | EasingPreset— — id string— — ValueTrackInputinterfaceValueTrackInput
ValueTrackInput Prop Tipo Predeterminado Descripción duration number— ms (0–60000). easing Easing | EasingPreset— — fill TrackFill— "both"(default) renders the from-state before the start;"forwards"writes nothing before it.from(obligatoria) number— — id string— Stable id for getTrack/retarget.to(obligatoria) number— — value(obligatoria) MotionValue— — CallDirectiontype"forward" | "reverse"CallFntype(direction: CallDirection) => unknownCameraTargettypeCameraTarget
CameraTarget Prop Tipo Predeterminado Descripción focus(obligatoria) Element— — padding number— — x number— — y number— — zoom number— — CoverPatterntype"split-x" | "split-y" | "curtain" | "shutter"TimelinePositiontypeAbsolute ms, a label (`"intro"`, `"intro+=200"`), `"<"`/`">"` (± ms) or `"+=ms"`/`"-=ms"`.
number | stringTrackFilltype"both" | "forwards"TrackInputtypeTrackInput
TrackInput Prop Tipo Predeterminado Descripción duration number— ms (0–60000). easing Easing | EasingPreset— — effect(obligatoria) PresetInput<any, any>— An Entrance definition (E01–E09/E11) or a preset of one. fill TrackFill— "both"(default) renders the from-state before the start;"forwards"writes nothing before it.from Pose | number— — id string— Stable id for getTrack/retarget.mode "scrub" | "trigger"— "scrub"(default when the definition accepts an externalprogress): the definition follows the timeline clock — seek, scrub, reverse, interruption."trigger": the definition plays with its OWN clock when the playhead crosses the start (in), or crosses back (out).options object— — priority number0Priority of the filterclaim when the pose blurs (default 0).target(obligatoria) Styled— — timeline(obligatoria) Timeline— — to(obligatoria) Pose | number— — value(obligatoria) MotionValue— —