Table of Contents

Property PropertyOverrides

Namespace
Velvet
Assembly
Velvet.Docs.dll

PropertyOverrides

Optional per-property transition overrides layered on top of the top-level DurationSec / Easing / DelaySec (e.g. opacity tweening in 0.15s while scale takes 0.5s). When set, the implicit "all" catch-all a variant class swap transitions on — the swap carries no transition-* of its own — stays on the top-level timing and these properties follow it, in declaration order, each on its own: as with Framer Motion's per-value transitions, a property no override names keeps the top-level timing. Currently wired only where a variant swap would otherwise set transition-property: all (a variant-driven enter, or an exit driven by a variants + exit label) — a preset transition's own USS-declared transition-property is untouched. Null (default) preserves today's behavior unchanged. Not read when Type is Spring or Bezier: both drive every animated channel with the SAME curve — a spring's Stiffness / Damping / Mass, a bezier's four control points — so there is no per-property override of the model itself (only Tween's per-property duration/easing/delay can be overridden this way).

public IReadOnlyList<StylePropertyTransition>? PropertyOverrides { get; init; }

Property Value

IReadOnlyList<StylePropertyTransition>