@jimka/typescript-ui / core / fadeHideAndDetach
Function: fadeHideAndDetach()
ts
function fadeHideAndDetach(component: Component, options?: FadeOptions): voidDefined in: src/typescript/lib/core/AnimatedDropdown.ts:346
Plays the standard dropdown-style exit fade on the given component's element, then hides and detaches it from the DOM when the transition completes.
A fresh fadeShow during the fade cancels the deferred detach so the panel stays mounted.
Parameters
component
The component to fade out and detach.
options?
Optional duration / translate / animated overrides; onComplete fires after detach.
Returns
void