motiondivision / motionone

https://motion.dev
MIT License
2.84k stars 52 forks source link

[Feature] [DevTools] Utitlize motion one with hover animations #251

Open AlexanderMelox opened 6 months ago

AlexanderMelox commented 6 months ago

Is your feature request related to a problem? Please describe. I would like a way to add hover animations with motion one.

Describe the solution you'd like Be able to say:

onHover('.box', {
   scale: 2
});
XYLIS-333 commented 5 months ago

you can use a callback for animation on hover

XYLIS-333 commented 5 months ago

onHover(animate) animate(){ // animation goes here }