MCPcopy
hub / github.com/formkit/auto-animate / AutoAnimationPlugin

Interface AutoAnimationPlugin

src/index.ts:865–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863 * A custom plugin that determines what the effects to run
864 */
865export interface AutoAnimationPlugin {
866 <T extends "add" | "remove" | "remain">(
867 el: Element,
868 action: T,
869 newCoordinates?: T extends "add" | "remain" | "remove"
870 ? Coordinates
871 : undefined,
872 oldCoordinates?: T extends "remain" ? Coordinates : undefined,
873 ): KeyframeEffect | [KeyframeEffect, AutoAnimationPluginOptions]
874}
875
876/**
877 * A function that automatically adds animation effects to itself and its

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…