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
↓ 1 callers
Function
buildTransform
( latestValues: ResolvedValues, transform: HTMLRenderState["transform"], transformTemplate?: Motio
packages/motion-dom/src/render/html/utils/build-transform.ts:23
↓ 1 callers
Function
calcInset
(element: Element, container: Element)
packages/framer-motion/src/render/dom/scroll/offsets/inset.ts:3
↓ 1 callers
Function
calcLatest
(t: number)
packages/motion-dom/src/animation/generators/inertia.ts:51
↓ 1 callers
Function
calcRelativeConstraints
( layoutBox: Box, { top, left, bottom, right }: Partial<BoundingBox> )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:80
↓ 1 callers
Function
calcViewportConstraints
(layoutBox: Box, constraintsBox: Box)
packages/framer-motion/src/gestures/drag/utils/constraints.ts:115
↓ 1 callers
Function
callback
()
packages/motion-dom/src/frameloop/__tests__/index.test.ts:91
↓ 1 callers
Function
canAccelerateScroll
( target?: RefObject<HTMLElement | null>, offset?: ScrollInfoOptions["offset"] )
packages/framer-motion/src/value/use-scroll.ts:77
↓ 1 callers
Function
canSetAsProperty
(element: HTMLElement | SVGElement, name: string)
packages/motion-dom/src/effects/attr/index.ts:7
↓ 1 callers
Method
cancel
* @internal
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:287
↓ 1 callers
Method
cancel
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:277
↓ 1 callers
Function
cancelAnimation
()
packages/framer-motion/src/animation/optimized-appear/handoff.ts:19
↓ 1 callers
Function
cancelTreeOptimisedTransformAnimations
( projectionNode: IProjectionNode )
packages/motion-dom/src/projection/node/create-projection-node.ts:111
↓ 1 callers
Function
checkBundleSize
(packageName)
dev/inc/bundlesize.mjs:14
↓ 1 callers
Function
checkElement
()
packages/framer-motion/src/components/AnimatePresence/__tests__/AnimatePresence.test.tsx:475
↓ 1 callers
Function
checkReorder
( order: ItemData<T>[], value: T, offset: number, velocity: number )
packages/framer-motion/src/components/Reorder/utils/check-reorder.ts:5
↓ 1 callers
Function
checkStaggerEquidistance
()
packages/framer-motion/src/motion/__tests__/variant.test.tsx:819
↓ 1 callers
Method
checkUpdateFailed
()
packages/motion-dom/src/projection/node/types.ts:95
↓ 1 callers
Function
chooseLayerType
( valueName: "layout" | "enter" | "exit" | "new" | "old" )
packages/motion-dom/src/view/utils/choose-layer-type.ts:1
↓ 1 callers
Function
circIn
(p)
packages/motion-utils/src/easing/circ.ts:5
↓ 1 callers
Function
clampRgbUnit
(v: number)
packages/motion-dom/src/value/types/color/rgba.ts:7
↓ 1 callers
Method
clearListeners
()
packages/motion-dom/src/value/index.ts:276
↓ 1 callers
Method
clearMeasurements
()
packages/motion-dom/src/projection/node/types.ts:115
↓ 1 callers
Method
clearSnapshot
()
packages/motion-dom/src/projection/node/types.ts:91
↓ 1 callers
Function
clearStatsBuffer
()
packages/motion-dom/src/stats/index.ts:3
↓ 1 callers
Function
closestItem
(arr: T[], item: T)
dev/react/src/tests/drag-tabs.tsx:152
↓ 1 callers
Method
collectTargets
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:317
↓ 1 callers
Function
commit
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:233
↓ 1 callers
Method
commitStyles
* WAAPI doesn't natively have any interruption capabilities. * * In this method, we commit styles back to the DOM before cancelling * t
packages/motion-dom/src/animation/NativeAnimation.ts:183
↓ 1 callers
Method
complete
()
packages/motion-dom/src/animation/JSAnimation.ts:498
↓ 1 callers
Function
composeRefs
* A utility to compose multiple refs together * Accepts callback refs and RefObject(s)
packages/framer-motion/src/utils/use-composed-ref.ts:24
↓ 1 callers
Function
convertAttrKey
(key: string)
packages/motion-dom/src/effects/svg/index.ts:60
↓ 1 callers
Function
convertBoxToBoundingBox
({ x, y }: Box)
packages/motion-dom/src/projection/geometry/conversion.ts:20
↓ 1 callers
Function
convertNumbersToZero
(v: number | string)
packages/motion-dom/src/value/types/complex/index.ts:112
↓ 1 callers
Function
convertToZero
( value: ComplexValues[number], splitBefore: string )
packages/motion-dom/src/value/types/complex/index.ts:129
↓ 1 callers
Function
createAnimateFunction
(visualElement: any)
packages/motion-dom/src/render/utils/animation-state.ts:48
↓ 1 callers
Function
createMixers
( output: T[], ease?: EasingFunction | EasingFunction[], customMixer?: MixerFactory<T> )
packages/motion-dom/src/utils/interpolate.ts:19
↓ 1 callers
Function
createObject
()
packages/framer-motion/src/animation/hooks/use-animated-state.ts:18
↓ 1 callers
Function
createProjectionNode
( visualElement: VisualElement<any>, props: MotionProps, ProjectionNodeConstructor: any, initi
packages/framer-motion/src/motion/utils/use-visual-element.ts:191
↓ 1 callers
Function
createRenderStep
(runNextFrame: () => void)
packages/motion-dom/src/frameloop/render-step.ts:3
↓ 1 callers
Function
createResizeObserver
()
packages/motion-dom/src/resize/handle-element.ts:47
↓ 1 callers
Function
createResolvablePromise
()
packages/framer-motion/src/utils/__tests__/use-instant-transition.test.tsx:184
↓ 1 callers
Function
createSvgRenderState
()
packages/framer-motion/src/render/svg/utils/create-render-state.ts:4
↓ 1 callers
Function
createTypes
(input, file)
packages/motion-utils/rollup.config.mjs:120
↓ 1 callers
Function
createTypes
(input, file)
packages/motion-dom/rollup.config.mjs:123
↓ 1 callers
Function
createWindowResizeHandler
()
packages/motion-dom/src/resize/handle-window.ts:7
↓ 1 callers
Function
criticallyDampedSpring
( target: unknown )
packages/motion-dom/src/animation/utils/default-transitions.ts:11
↓ 1 callers
Function
delay
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:249
↓ 1 callers
Method
dirty
()
packages/motion-dom/src/value/index.ts:332
↓ 1 callers
Function
dirtyAll
()
packages/motion-dom/src/projection/node/group.ts:16
↓ 1 callers
Method
disconnect
()
packages/framer-motion/src/utils/__tests__/mock-intersection-observer.ts:29
↓ 1 callers
Function
driver
(update: (v: number) => void)
packages/motion-dom/src/animation/__tests__/utils.ts:7
↓ 1 callers
Function
eachAxis
(handler: (axis: "x" | "y") => T)
packages/framer-motion/src/utils/each-axis.ts:2
↓ 1 callers
Function
enableKeyboardPress
( focusEvent: FocusEvent, eventOptions: AddEventListenerOptions )
packages/motion-dom/src/gestures/press/utils/keyboard.ts:19
↓ 1 callers
Method
enter
(keyframes: DOMKeyframesDefinition, options?: AnimationOptions)
packages/motion-dom/src/view/index.ts:177
↓ 1 callers
Method
exitAnimationComplete
()
packages/motion-dom/src/projection/shared/stack.ts:76
↓ 1 callers
Function
expectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-shared-fragment.ts:8
↓ 1 callers
Function
expectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-read-transform.ts:8
↓ 1 callers
Function
filterProps
( props: MotionProps, isDom: boolean, forwardMotionProps: boolean )
packages/framer-motion/src/render/dom/utils/filter-props.ts:45
↓ 1 callers
Method
finalize
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:406
↓ 1 callers
Function
finalizeCrop
()
packages/motion-dom/src/view/start.ts:367
↓ 1 callers
Function
findSpring
({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.v
packages/motion-dom/src/animation/generators/spring.ts:72
↓ 1 callers
Function
finishAnimation
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2369
↓ 1 callers
Method
finishAnimation
()
packages/motion-dom/src/projection/node/types.ts:130
↓ 1 callers
Function
fireEvent
(element: Element, event: any)
packages/framer-motion/src/events/__tests__/utils/fire-event.ts:2
↓ 1 callers
Function
flushKeyframeResolvers
()
packages/motion-dom/src/animation/keyframes/KeyframesResolver.ts:89
↓ 1 callers
Function
flushPendingFrame
* Process any work scheduled on the frameloop now. A previous animation * may have been seeked while paused (controls.time = x) without a frame * ha
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:62
↓ 1 callers
Function
forceRender
()
dev/react/src/tests/scroll-projection.tsx:17
↓ 1 callers
Function
generateParagraphLength
()
dev/react/src/examples/useViewportScroll.tsx:11
↓ 1 callers
Function
generateParagraphLength
()
dev/react/src/examples/useScroll.tsx:10
↓ 1 callers
Function
generateParagraphLength
()
dev/react/src/examples/Animation-height-auto-display-none.tsx:128
↓ 1 callers
Function
generateParagraphLength
()
dev/react/src/examples/Animation-height-auto-rotate-scale.tsx:127
↓ 1 callers
Function
generateSlug
* Generate a slug from version number by replacing dots with dashes and removing leading zeros * e.g., "12.23.15" -> "12-23-15", "12.23.0" -> "12-23"
scripts/generate-changelog.js:10
↓ 1 callers
Function
getAnimationMap
(element: Element)
packages/motion-dom/src/animation/utils/active-animations.ts:11
↓ 1 callers
Function
getClosestProjectingNode
( visualElement?: VisualElement< unknown, unknown, { allowProjection?: boolean }
packages/framer-motion/src/motion/utils/use-visual-element.ts:237
↓ 1 callers
Method
getClosestProjectingParent
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1344
↓ 1 callers
Function
getColorType
(v: Color | string)
packages/motion-dom/src/utils/mix/color.ts:20
↓ 1 callers
Function
getComputedStyle
(element: HTMLElement)
packages/motion-dom/src/render/html/HTMLVisualElement.ts:20
↓ 1 callers
Function
getCurrentDirection
* Based on an x/y offset determine the current drag direction. If both axis' offsets are lower * than the provided threshold, return `null`. * * @p
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:834
↓ 1 callers
Function
getDefaultTransition
( valueKey: string, { keyframes }: ValueAnimationOptions )
packages/motion-dom/src/animation/utils/default-transitions.ts:35
↓ 1 callers
Function
getElem
()
packages/framer-motion/src/events/__tests__/types.test.tsx:7
↓ 1 callers
Function
getFeatureDefinitions
()
packages/motion-dom/src/render/VisualElement.ts:76
↓ 1 callers
Function
getFromSource
()
packages/framer-motion/src/value/use-follow-value.ts:68
↓ 1 callers
Method
getGeneratorVelocity
* Returns the generator's velocity at the current time in units/second. * Uses the analytical derivative when available (springs), avoiding
packages/motion-dom/src/animation/JSAnimation.ts:404
↓ 1 callers
Function
getInverseMatrix
(element: HTMLElement)
packages/framer-motion/src/utils/transform-rotated-parent.ts:66
↓ 1 callers
Method
getKeyframes
()
packages/motion-dom/src/view/types.global.ts:24
↓ 1 callers
Function
getNextIngredient
(ingredients: Ingredient[])
dev/react/src/tests/drag-tabs.tsx:163
↓ 1 callers
Function
getProjectionFunctionality
(props: MotionProps)
packages/framer-motion/src/motion/index.tsx:204
↓ 1 callers
Function
getProjectionParent
(element: Element)
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:75
↓ 1 callers
Method
getRoot
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:400
↓ 1 callers
Function
getScrollAmount
( pointerPosition: number, scrollElement: HTMLElement, axis: "x" | "y" )
packages/framer-motion/src/components/Reorder/utils/auto-scroll.ts:64
↓ 1 callers
Function
getSpringOptions
(options: SpringOptions)
packages/motion-dom/src/animation/generators/spring.ts:171
↓ 1 callers
Function
getTForX
(aX: number)
packages/motion-utils/src/easing/cubic-bezier.ts:66
↓ 1 callers
Function
getTargetSize
(target: Element)
packages/framer-motion/src/render/dom/scroll/offsets/index.ts:10
↓ 1 callers
Function
getValueTransition
( transition: DynamicAnimationOptions & At, key: string )
packages/framer-motion/src/animation/sequence/create.ts:480
↓ 1 callers
Function
getVariableValue
( current: CSSVariableToken, element: Element, depth = 1 )
packages/motion-dom/src/animation/utils/css-variables-conversion.ts:27
↓ 1 callers
Function
getVariantContext
( visualElement?: any )
packages/motion-dom/src/render/utils/get-variant-context.ts:20
↓ 1 callers
Function
getVelocity
(history: TimestampedPoint[], timeDelta: number)
packages/framer-motion/src/gestures/pan/PanSession.ts:383
↓ 1 callers
Function
getVersion
* Extract version from package.json
scripts/notify-slack.js:12
↓ 1 callers
Function
getVersionChangelog
* Extract changelog section for a specific version
scripts/notify-slack.js:32
↓ 1 callers
Function
getVersionType
* Parse version string to determine if it's major, minor, or patch * Based on semantic versioning (x.y.z)
scripts/generate-changelog.js:33
← previous
next →
701–800 of 1,999, ranked by callers