Module

MotionValue

Package
purescript-framer-motion
Repository
i-am-the-slime/purescript-framer-motion

#MotionValue Source

data MotionValue :: Type -> Type

#UseMotionValue Source

#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

#set Source

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

#isAnimating Source

#stop Source

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

#onChangeImpl Source

#onChange Source

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

#useMotionValue Source

useMotionValue :: forall a. a -> Hook (UseMotionValue a) (MotionValue a)

#animateImpl Source

#animate Source

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