Interface: ReplaceOptions
Configuration options for in-place element replacement transitions.
Properties
| Property | Type | Description |
|---|---|---|
duration? | number | Total choreography duration in seconds (default: 0.5s). |
ease? | BuiltinEase | EaseCurve | Easing curve for the incoming element (default: "quartOut"). |
matchPosition? | boolean | Automatically match incoming element's (x, y) coordinates to outgoing element (default: true). |
overlap? | number | Overlap hand-off point as a fraction of exit progress (default: 0.55). |
scale? | number | boolean | Subtle depth scaling factor during swap (default: 0.96, or false to disable). |