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