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)

#destroy Source

destroy :: forall a. MotionValue a -> Effect Unit

#useMotionValueImpl Source

#get Source

get :: forall a. (MotionValue a) -> Effect a

#setImpl Source

setImpl :: forall a. a -> Boolean -> (MotionValue a) -> Effect Unit

#setButDoNotRender Source

setButDoNotRender :: forall a. a -> MotionValue a -> Effect Unit

#jump Source

jump :: forall a. a -> MotionValue a -> Effect Unit

#set Source

set :: forall a. a -> MotionValue a -> Effect Unit

#isAnimating Source

#stop Source

stop :: forall a. MotionValue a -> Effect Unit

#onChange Source

onChange :: forall a. (a -> Effect Unit) -> MotionValue a -> Effect (Effect Unit)

#onAnimationComplete Source

#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

#animate Source

animate :: forall a options. a -> Record options -> MotionValue a -> Effect AnimationPlaybackControls