Table of Contents

Method With

Namespace
Velvet
Assembly
Velvet.Docs.dll

With(float?, EasingMode?, EasingMode?, float?)

Builds a new StyleTransitionConfig that overrides duration / easing on top of the preset. Class-name definitions are copied; only the specified parameters are overridden.

public StyleTransitionConfig With(float? durationSec = null, EasingMode? easing = null, EasingMode? exitEasing = null, float? delaySec = null)

Parameters

durationSec float?

Duration (seconds). null preserves the original value.

easing EasingMode?

Enter easing. null preserves the original value.

exitEasing EasingMode?

Exit easing. null preserves the original value.

delaySec float?

Returns

StyleTransitionConfig