The DOM element to fade in
Optionaloptions: FadeOptions = {}Fade options
Options for configuring fade effects.
FadeOptions
Optionalduration?: numberAnimation duration in milliseconds.
OptionalonComplete?: () => voidCallback function invoked when the animation completes (either naturally or when cancelled).
A cancellable promise that resolves when animation completes.
Call .cancel() to immediately show the element at full opacity.
Fades in an element by animating its opacity from 0 to 1.
Uses CSS transitions for smooth animation. The returned promise can be cancelled to immediately show the element at full opacity.