Module
MotionValue
- Package
- purescript-framer-motion
- Repository
- i-am-the-slime/purescript-framer-motion
#MotionValue Source
data MotionValue t0#UseMotionValue Source
data UseMotionValue t0 t1#newMotionValue Source
newMotionValue :: forall a. a -> Effect (MotionValue a)#useMotionValueImpl Source
useMotionValueImpl :: forall a. EffectFn1 a (MotionValue a)#get Source
get :: forall a. (MotionValue a) -> Effect a#setButDoNotRender Source
setButDoNotRender :: forall a. a -> MotionValue a -> Effect Unit#isAnimating Source
isAnimating :: forall a. MotionValue a -> Effect Boolean#onAnimationComplete Source
onAnimationComplete :: forall a. (a -> Effect Unit) -> MotionValue a -> Effect (Effect Unit)#onAnimationStart Source
onAnimationStart :: forall a. (a -> Effect Unit) -> MotionValue a -> Effect (Effect Unit)#useMotionValue Source
useMotionValue :: forall a. a -> Hook (UseMotionValue a) (MotionValue a)#onAnimationCancel Source
onAnimationCancel :: forall a. (a -> Effect Unit) -> MotionValue a -> Effect (Effect Unit)#animateImpl Source
animateImpl :: forall a options. EffectFn3 (MotionValue a) a (Record options) AnimationPlaybackControls#animate Source
animate :: forall a options. a -> Record options -> MotionValue a -> Effect AnimationPlaybackControls