Your system asks for reduced motion, so VFX-JS draws nothing. Demos on this site show plain HTML.

Type

RunContext

vfx-js/src/transition/types.ts:135 ↗
import type { RunContext } from "@vfx-js/core";

Passed to the run() callback.

Properties

keepPlaying

keepPlaying(
    nodes: Node | Iterable<Node, any, any>,
    onReturn?: (node: Node) => void,
): void

Hand the old nodes over before you drop them, so keepPlaying can keep them playing. VFX-JS moves them into a hidden canvas and removes them when the run ends. With onReturn, it moves each node back to its old place instead, then calls onReturn. Use it when a framework still owns the nodes. No-op unless the run uses keepPlaying. With function opts, only the container's keepPlaying turns it on.