@jimka/typescript-ui / core / FadeOptions
Interface: FadeOptions
Defined in: src/typescript/lib/core/AnimatedDropdown.ts:40
Options forwarded to the free-function forms fadeShow / fadeHideAndDetach.
Properties
animated?
ts
optional animated: boolean;Defined in: src/typescript/lib/core/AnimatedDropdown.ts:46
When false, the helper bypasses the transition and applies the end state synchronously. Default: true.
durationMs?
ts
optional durationMs: number;Defined in: src/typescript/lib/core/AnimatedDropdown.ts:42
Fade duration in milliseconds. Default: 120.
onComplete()?
ts
optional onComplete: () => void;Defined in: src/typescript/lib/core/AnimatedDropdown.ts:48
Called once the fade completes (or immediately when animation is disabled).
Returns
void
translatePx?
ts
optional translatePx: number;Defined in: src/typescript/lib/core/AnimatedDropdown.ts:44
Vertical translation distance in pixels for the entrance. Default: 4.