fn
isAnimatable
v0.0.5testedChecks whether an element has a running CSS animation or transition
Signature
ts
export function isAnimatable(el: HTMLElement | undefined): boolean{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
el | HTMLElement | undefined | — |
Returns
boolean