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