fn
shouldSuspendUnmount
v0.0.5Determines whether unmounting should be delayed due to a running animation/transition change
Signature
ts
declare function shouldSuspendUnmount(el: HTMLElement | undefined, prevAnimationName: string): boolean;Parameters
| Parameter | Type | Description |
|---|---|---|
el | HTMLElement | undefined | — |
prevAnimationName | string | — |
Returns
boolean