14 lines
282 B
Plaintext
14 lines
282 B
Plaintext
import { memo } from 'motion-utils';
|
|
|
|
const supportsPartialKeyframes = /*@__PURE__*/ memo(() => {
|
|
try {
|
|
document.createElement("div").animate({ opacity: [1] });
|
|
}
|
|
catch (e) {
|
|
return false;
|
|
}
|
|
return true;
|
|
});
|
|
|
|
export { supportsPartialKeyframes };
|