UNPKG

framer-motion

Version:

A simple and powerful JavaScript animation library

16 lines (13 loc) 365 B
import { memoSupports } from './memo-supports.mjs'; const supportsLinearEasing = /*@__PURE__*/ memoSupports(() => { try { document .createElement("div") .animate({ opacity: 0 }, { easing: "linear(0, 1)" }); } catch (e) { return false; } return true; }, "linearEasing"); export { supportsLinearEasing };