preset easing string or a CSS
options affecting the output based on easingString
If true
, the returned easing function will be inverted.
An <easing-string>
corresponding to the provided easingString.
"power1-in"
or "bounce-out"
), the returned <easing-function>
will be a custom <linear-easing-function>
coming from a map of preset strings to linear easing functions.<easing-function>
string (such as "ease-in"
or "cubic-bezier(...)"
), the string
itself will be returned with no modifications since it is obviously already a valid CSS easing function string.
Accepts either a preset easing string or a CSS
<easing-function>
string and returns an<easing-function>