Open pooyaEst opened 1 year ago
@pooyaEst
{
initial: { x: 0 },
enter: {
x: [0, -10, 0] as any,
transition: {
repeat: 1,
repeatType: 'mirror',
duration: 400,
},
}, // issue: https://github.com/vueuse/motion/issues/137
}
like this ?
Exactly
Thx for this great library. Suggestion: a shaking preset which shakes the element left and right or top and down few times preferably with ability to indicate number of shakes would be nice.