Skip to content
party.js logoparty.js logo

ReferenceEffectsType

EffectResult

The result of a completed effect.

type EffectResult = "completed" | "stopped";

The result of a completed effect, either "completed" if it ended by itself or "stopped" if it ended early. An effect that was told to wind down with end() also ends by itself, once its last particle has expired, so its result is "completed" too. An effect that is skipped due to reduced motion will still have "completed" as its result.