menu

Popmotion

Help and discussion for Popmotion's animation libraries: Popmotion, Pose, React Pose, React Native Pose, etc

Channels
Team

Can't apply changes to easing function.

March 11, 2019 at 9:53am

Can't apply changes to easing function.

March 11, 2019 at 9:53am

I might just not be doing this correctly but when setting a pose i can't seem to change the function used for easing.

The following is how i'm trying to define the component as per the [documentation] (https://popmotion.io/pose/learn/custom-transitions/#custom-transitions-transitions)

const LeftSemiPosed = posed.path({
closed: {
x: "0",
ease: "anticipate",
duration: 100
},
open: {
x: "100",
ease: "anticipate",
duration: 100
}
});
No messages yet