Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/motiondivision/motion
/ functions
Functions
1,999 in github.com/motiondivision/motion
⨍
Functions
1,999
◇
Types & classes
338
Function
fireAllObserverCallbacks
(entries)
packages/framer-motion/src/motion/features/viewport/observers.ts:29
Function
fireCustomEvent
( eventName: string, EventType: string = "Event", defaultInit: {} = { bubbles: true, cancelable: t
packages/framer-motion/src/events/__tests__/utils/fire-event.ts:6
Function
fireObserverCallback
(entry: IntersectionObserverEntry)
packages/framer-motion/src/motion/features/viewport/observers.ts:24
Function
flagRunNextFrame
()
packages/motion-dom/src/frameloop/batcher.ts:21
Function
flushPendingBuilders
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:190
Function
forceLayoutMeasure
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2338
Function
forwardEase
(p: number)
packages/framer-motion/src/animation/sequence/__tests__/index.test.ts:835
Function
frameloopDriver
(update)
packages/motion-dom/src/animation/drivers/frame.ts:6
Function
generateWordLength
()
dev/react/src/examples/useViewportScroll.tsx:12
Function
generateWordLength
()
dev/react/src/examples/useScroll.tsx:11
Function
generateWordLength
()
dev/react/src/examples/Animation-height-auto-display-none.tsx:129
Function
generateWordLength
()
dev/react/src/examples/Animation-height-auto-rotate-scale.tsx:128
Function
getAnimatableNone
(v: AnyResolvedKeyframe)
packages/motion-dom/src/value/types/complex/index.ts:139
Function
getBaseTarget
* Find the base target for a value thats been removed from all animation * props.
packages/motion-dom/src/render/VisualElement.ts:901
Function
getBaseTargetFromProps
( props: MotionNodeOptions, key: string )
packages/motion-dom/src/render/dom/DOMVisualElement.ts:24
Method
getBaseTargetFromProps
(props: MotionProps, key: string)
packages/framer-motion/src/render/utils/__tests__/StateVisualElement.ts:22
Method
getBaseTargetFromProps
()
packages/framer-motion/src/animation/hooks/use-animated-state.ts:35
Method
getBaseTargetFromProps
()
packages/motion-dom/src/render/object/ObjectVisualElement.ts:30
Function
getBoundingClientRect
()
packages/framer-motion/src/events/__tests__/types.test.tsx:38
Function
getClosestVariantNode
()
packages/motion-dom/src/render/VisualElement.ts:777
Function
getComputedStyleStub
()
packages/framer-motion/src/animation/animators/waapi/__tests__/css-variables.test.tsx:22
Function
getDefaultTransition
* Returns the defined default transition on this component.
packages/motion-dom/src/render/VisualElement.ts:769
Method
getPrevLead
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1877
Method
getPrevious
* @public
packages/motion-dom/src/value/index.ts:395
Function
getPropertyValue
( variableName: "background" | "--from" | "--to" | "--a" | "--color" )
packages/framer-motion/src/animation/animators/waapi/__tests__/css-variables.test.tsx:25
Function
getProps
()
packages/motion-dom/src/render/VisualElement.ts:755
Method
getSnapshotBeforeUpdate
(prevProps: MeasureProps)
packages/framer-motion/src/components/AnimatePresence/PopChild.tsx:39
Method
getSnapshotBeforeUpdate
(prevProps: MeasureProps)
packages/framer-motion/src/motion/features/layout/MeasureLayout.tsx:68
Function
getStaticValue
(key: string)
packages/motion-dom/src/render/VisualElement.ts:701
Function
getTransformPagePoint
()
packages/motion-dom/src/render/VisualElement.ts:773
Function
getValue
( key: string, defaultValue?: AnyResolvedKeyframe | null )
packages/motion-dom/src/render/VisualElement.ts:839
Function
getVariant
* Returns the variant definition with a given name.
packages/motion-dom/src/render/VisualElement.ts:762
Method
group
* By default a subject's layer nests under its nearest DOM-ancestor layer * (`view-transition-group: contain`), so the ancestor's clip/transform/
packages/motion-dom/src/view/index.ts:142
Function
handleBlur
()
packages/motion-dom/src/gestures/press/utils/keyboard.ts:35
Function
handleChildMotionValue
()
packages/motion-dom/src/render/dom/DOMVisualElement.ts:43
Function
handleClick
()
dev/react/src/tests/layout-shared-instant-transition.tsx:11
Function
handleDragEnd
( draggedPos: { x: number; y: number }, info: { offset: { x: number; y: number } } )
dev/react/src/tests/drag-snap-layout-id-swap.tsx:33
Function
handoffOptimizedAppearAnimation
( elementId: string, valueName: string, frame: Batcher )
packages/framer-motion/src/animation/optimized-appear/handoff.ts:5
Method
hasListeners
(name: LayoutEvents)
packages/motion-dom/src/projection/node/create-projection-node.ts:432
Function
hasOpacityCrossfade
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2408
Function
hasValue
* Check whether we have a motion value for this key
packages/motion-dom/src/render/VisualElement.ts:829
Function
hasWarned
(message: string)
packages/motion-utils/src/warn-once.ts:5
Function
height
()
packages/motion-dom/src/resize/handle-window.ts:13
Function
height
()
packages/motion-dom/src/resize/handle-element.ts:36
Method
hide
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1554
Function
instantTransit
()
dev/react/src/tests/layout-shared-instant-transition-a-ab-a.tsx:20
Function
interpolateProjection
(delta)
packages/motion-dom/src/animation/utils/arc.ts:223
Function
invert
(v: number)
packages/motion-dom/src/utils/__tests__/interpolate.test.ts:3
Function
invertScale
(scale: number)
packages/framer-motion/src/value/use-inverted-scale.ts:19
Function
isDraggable
(visualElement: VisualElement)
packages/framer-motion/src/render/utils/is-draggable.ts:3
Function
isNotNull
(value: unknown)
packages/motion-dom/src/animation/keyframes/get-final.ts:3
Function
isNumber
(keyframe: unknown)
packages/framer-motion/src/animation/sequence/create.ts:492
Method
isProjecting
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1360
Function
isVariantNode
(props: MotionNodeOptions)
packages/motion-dom/src/render/utils/is-controlling-variants.ts:15
Method
iterationDuration
()
packages/motion-dom/src/animation/JSAnimation.ts:366
Method
iterationDuration
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:227
Method
iterationDuration
()
packages/motion-dom/src/animation/NativeAnimation.ts:197
Method
iterationDuration
()
packages/motion-dom/src/animation/GroupAnimation.ts:82
Function
iterationStart
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:267
Function
iterations
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:300
Method
layout
* Set the transition for this subject's morph. The morph is enabled * automatically by `.add()`; this just customises its timing (duration,
packages/motion-dom/src/view/index.ts:171
Function
leave
()
packages/framer-motion/src/utils/__tests__/use-in-view.test.tsx:10
Function
length
()
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:965
Function
listener
()
dev/react/src/examples/Drag-constraints-resize.tsx:13
Function
log
()
dev/react/src/examples/useTransform-with-useLayoutEffect.tsx:21
Function
measureAll
()
packages/framer-motion/src/render/dom/scroll/track.ts:56
Method
measureDragConstraints
()
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:701
Method
measureEndState
()
packages/motion-dom/src/animation/keyframes/DOMKeyframesResolver.ts:173
Method
measureInitialState
()
packages/motion-dom/src/animation/keyframes/DOMKeyframesResolver.ts:148
Method
measureInstanceViewportBox
()
packages/motion-dom/src/render/object/ObjectVisualElement.ts:41
Function
measureViewportBox
* Measure the current viewport box with or without transforms. * Only measures axis-aligned boxes, rotate and skew must be manually * remove
packages/motion-dom/src/render/VisualElement.ts:695
Function
mixNumber
(a: number, b: number)
packages/motion-dom/src/utils/mix/complex.ts:22
Function
mount
()
packages/framer-motion/src/animation/hooks/animation-controls.ts:97
Function
mount
(instance: Instance)
packages/motion-dom/src/render/VisualElement.ts:441
Method
mount
* Subscribe any provided AnimationControls to the component's VisualElement
packages/framer-motion/src/motion/features/animation/index.ts:31
Method
mount
()
packages/framer-motion/src/motion/features/animation/exit.ts:77
Method
mount
()
packages/framer-motion/src/gestures/press.ts:31
Method
mount
()
packages/framer-motion/src/gestures/focus.ts:34
Method
mount
()
packages/framer-motion/src/gestures/drag/index.ts:16
Method
mount
()
packages/framer-motion/src/gestures/pan/index.ts:48
Method
new
* Animate the new view directly, whether the element is appearing or * persisting (unlike `.enter()`, which only fires for a pure newcomer).
packages/motion-dom/src/view/index.ts:194
Function
newChildrenMap
()
packages/framer-motion/src/components/AnimatePresence/PresenceChild.tsx:117
Function
nextFrame
()
tests/gestures/resize.spec.ts:3
Function
noop
()
packages/framer-motion/src/jest.setup.tsx:35
Function
noop
(any: T)
packages/motion-utils/src/noop.ts:2
Function
notify
( eventName: EventName, ...args: any )
packages/motion-dom/src/render/VisualElement.ts:954
Function
notify
(node: IProjectionNode)
packages/motion-dom/src/projection/node/group.ts:3
Function
notifyAll
()
packages/framer-motion/src/render/dom/scroll/track.ts:64
Function
notifyAll
(entries: ResizeObserverEntry[])
packages/motion-dom/src/resize/handle-element.ts:43
Function
notifyLayoutUpdate
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2153
Function
notifyTarget
({ target, borderBoxSize }: ResizeObserverEntry)
packages/motion-dom/src/resize/handle-element.ts:30
Method
old
* Animate the old view directly, whether the element is leaving or * persisting (unlike `.exit()`, which only fires for a pure leaver).
packages/motion-dom/src/view/index.ts:204
Function
on
( eventName: EventName, callback: VisualElementEventCallbacks[EventName] )
packages/motion-dom/src/render/VisualElement.ts:943
Function
onAnimationComplete
()
packages/framer-motion/src/motion/__tests__/animate-prop.test.tsx:172
Method
onAnimationComplete
* Callback when animation defined in `animate` is complete. * * The provided callback will be called with the triggering animation definitio
packages/motion-dom/src/node/types.ts:313
Method
onAnimationStart
* Callback when animation defined in `animate` begins. * * The provided callback will be called with the triggering animation definition.
packages/motion-dom/src/node/types.ts:289
Method
onBeforeLayoutMeasure
(box: Box)
packages/motion-dom/src/render/types.ts:118
Method
onBeforeLayoutMeasure
(box: Box)
packages/motion-dom/src/node/types.ts:314
Function
onBeforeLoad
(win)
packages/framer-motion/cypress/integration/animate-presence-pop-ref.ts:6
Function
onBeforeLoad
(win)
packages/framer-motion/cypress/integration/layout-parent-xy-offset.ts:4
← previous
next →
1,701–1,800 of 1,999, ranked by callers