R
fn

isAnimatable

v0.0.5tested

Checks whether an element has a running CSS animation or transition

Signature

ts
export function isAnimatable(el: HTMLElement | undefined): boolean{ ... }

Parameters

ParameterTypeDescription
elHTMLElement | undefined

Returns

boolean