fn
getAnimationName
v0.0.5testedReturns the current CSS animation name(s) of an element
Signature
ts
export function getAnimationName(el: HTMLElement | undefined): string{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
el | HTMLElement | undefined | — |
Returns
string