Module
Framer.Motion.Types  
- Package
 - purescript-framer-motion
 - Repository
 - i-am-the-slime/purescript-framer-motion
 
#MotionPropsF Source
type MotionPropsF f r = (animate :: f Animate, custom :: f Foreign, drag :: f Drag, dragConstraints :: f DragConstraints, dragElastic :: f DragElastic, dragMomentum :: f DragMomentum, dragPropagation :: f DragPropagation, exit :: f Exit, initial :: f Initial, layout :: f Layout, layoutId :: f LayoutId, onAnimationComplete :: f OnAnimationComplete, onAnimationStart :: f OnAnimationStart, onDrag :: f OnDrag, onDragEnd :: f OnDragEnd, onDragStart :: f OnDragStart, onHoverEnd :: f OnHoverEnd, onHoverStart :: f OnHoverStart, onLayoutAnimationComplete :: f OnLayoutAnimationComplete, onPan :: f OnPan, onPanEnd :: f OnPanEnd, onPanStart :: f OnPanStart, onTap :: f OnTap, onTapCancel :: f OnTapCancel, onTapEnd :: f OnTapEnd, onTapStart :: f OnTapStart, onViewportBoxUpdate :: f OnViewportBoxUpdate, transition :: f Transition, variants :: f Variants, whileHover :: f WhileHover, whileTap :: f WhileTap | r)#MotionProps Source
type MotionProps r = MotionPropsF Id r#VariantLabel Source
newtype VariantLabelConstructors
Instances
(IsSymbol sym) => MappingWithIndex MakeVariantLabel (Proxy sym) a VariantLabel
#AnimationControls Source
data AnimationControls :: Type#dragMomentum Source
dragMomentum :: forall c. Castable c DragMomentum => c -> DragMomentum#DragConstraints Source
type DragConstraints = (Ref (Nullable Node)) |+| BoundingBox2D |+| Undefined#DragElastic Source
type DragElastic = Boolean |+| Number |+| BoundingBox2D |+| Undefined#dragElastic Source
dragElastic :: forall c. Castable c DragElastic => c -> DragElastic#dragElasticBoundingBox Source
dragElasticBoundingBox :: forall a. Castable a BoundingBox2D => a -> DragElastic#boundingBox2D Source
boundingBox2D :: forall c. Castable c BoundingBox2D => c -> BoundingBox2D#onTapStart Source
onTapStart :: (Event -> TapInfo -> Effect Unit) -> OnTapStart#AnimationDefinition Source
type AnimationDefinition = Foreign#onAnimationStart Source
onAnimationStart :: (Effect Unit) -> OnAnimationStart#OnHoverStart Source
type OnHoverStart = (EffectFn2 MouseEvent EventInfo Unit) |+| Undefined#onHoverStart Source
onHoverStart :: (MouseEvent -> EventInfo -> Effect Unit) -> OnHoverStart#OnHoverEnd Source
type OnHoverEnd = (EffectFn2 MouseEvent EventInfo Unit) |+| Undefined#onHoverEnd Source
onHoverEnd :: (MouseEvent -> EventInfo -> Effect Unit) -> OnHoverEnd#WhileHover Source
type WhileHover = (EffectFn2 MouseEvent EventInfo Unit) |+| Undefined#whileHover Source
whileHover :: forall c. Castable c WhileHover => c -> WhileHover#onViewportBoxUpdate Source
onViewportBoxUpdate :: (AxisBox2D -> BoxDelta -> Effect Unit) -> OnViewportBoxUpdate#TargetAndTransition Source
type TargetAndTransition = CSS#EffectFnMaker Source
class EffectFnMaker fn effectFn | fn -> effectFn whereMembers
toEffectFn :: fn -> effectFn
Instances
EffectFnMaker (a -> b -> Effect c) (EffectFn2 a b c)EffectFnMaker (a -> Effect b) (EffectFn1 a b)
#callback Source
callback :: forall a c f. Castable c a => EffectFnMaker f c => f -> a#onDragStart Source
onDragStart :: (Event -> PanInfo -> Effect Unit) -> OnDragStart#onPanStart Source
onPanStart :: (Event -> PanInfo -> Effect Unit) -> OnPanStart#customProp Source
customProp :: forall a. a -> Foreign#transition Source
transition :: forall r. Record r -> Transition#dragConstraints Source
dragConstraints :: forall a. Castable a DragConstraints => a -> DragConstraints#dragConstraintsBoundingBox Source
dragConstraintsBoundingBox :: forall a. Castable a BoundingBox2D => a -> DragConstraints#dragPropagation Source
dragPropagation :: forall a. Castable a DragPropagation => a -> DragPropagation#variantsFromObject Source
variantsFromObject :: forall o. Object o -> Variants#MakeVariantLabel Source
data MakeVariantLabelConstructors
Instances
(IsSymbol sym) => MappingWithIndex MakeVariantLabel (Proxy sym) a VariantLabel
#makeVariantLabels Source
makeVariantLabels :: forall a b. HMapWithIndex MakeVariantLabel a b => a -> b#AnimationPlaybackControls Source
data AnimationPlaybackControls :: Type