OptionalanimationsA function returning a boolean, or a boolean, to know if animations are active.
OptionaldurationThe default animation duration, in ms (default: 500).
OptionaleasingThe CSS easing function, default 'ease-in-out'.
OptionalfromDetermines the behavior of the placeholder at the starting position ("from") of the animation. Default: 'shrinking'.
Options:
OptionalinnerA pause between the animations, in ms (default undefined/0). If set in an inner animation settings, will apply after the animation, except if the animation is the last one.
OptionalparallelAnimations to play at the same time as the main animation
OptionalpreservePreserve the scale of the object when sliding in or out.
OptionaltoDetermines the behavior of the placeholder at the ending position ("to") of the animation. Default: 'growing'.
Options:
Settings to apply to an animation. Other animations can be run in parallel, using the same duration.