ease_in_out {omsvg}R Documentation

Use an 'easing in and out' animation

Description

The ease_in_out() function can be used as a value for the easing_fn argument, which is available in every ⁠anim_*()⁠ function (e.g., anim_position()).

Usage

ease_in_out(power = "basic")

Arguments

power

The preset to use for the easing in cubic bezier function.

Value

A cubic-bezier function call as a string for use as a CSS property.


[Package omsvg version 0.1.0 Index]