MCPcopy Create free account

hub / github.com/motiondivision/motion / functions

Functions1,999 in github.com/motiondivision/motion

↓ 1 callersFunctionbuildTransform
( latestValues: ResolvedValues, transform: HTMLRenderState["transform"], transformTemplate?: Motio
packages/motion-dom/src/render/html/utils/build-transform.ts:23
↓ 1 callersFunctioncalcInset
(element: Element, container: Element)
packages/framer-motion/src/render/dom/scroll/offsets/inset.ts:3
↓ 1 callersFunctioncalcLatest
(t: number)
packages/motion-dom/src/animation/generators/inertia.ts:51
↓ 1 callersFunctioncalcRelativeConstraints
( layoutBox: Box, { top, left, bottom, right }: Partial<BoundingBox> )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:80
↓ 1 callersFunctioncalcViewportConstraints
(layoutBox: Box, constraintsBox: Box)
packages/framer-motion/src/gestures/drag/utils/constraints.ts:115
↓ 1 callersFunctioncallback
()
packages/motion-dom/src/frameloop/__tests__/index.test.ts:91
↓ 1 callersFunctioncanAccelerateScroll
( target?: RefObject<HTMLElement | null>, offset?: ScrollInfoOptions["offset"] )
packages/framer-motion/src/value/use-scroll.ts:77
↓ 1 callersFunctioncanSetAsProperty
(element: HTMLElement | SVGElement, name: string)
packages/motion-dom/src/effects/attr/index.ts:7
↓ 1 callersMethodcancel
* @internal
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:287
↓ 1 callersMethodcancel
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:277
↓ 1 callersFunctioncancelAnimation
()
packages/framer-motion/src/animation/optimized-appear/handoff.ts:19
↓ 1 callersFunctioncancelTreeOptimisedTransformAnimations
( projectionNode: IProjectionNode )
packages/motion-dom/src/projection/node/create-projection-node.ts:111
↓ 1 callersFunctioncheckBundleSize
(packageName)
dev/inc/bundlesize.mjs:14
↓ 1 callersFunctioncheckElement
()
packages/framer-motion/src/components/AnimatePresence/__tests__/AnimatePresence.test.tsx:475
↓ 1 callersFunctioncheckReorder
( order: ItemData<T>[], value: T, offset: number, velocity: number )
packages/framer-motion/src/components/Reorder/utils/check-reorder.ts:5
↓ 1 callersFunctioncheckStaggerEquidistance
()
packages/framer-motion/src/motion/__tests__/variant.test.tsx:819
↓ 1 callersMethodcheckUpdateFailed
()
packages/motion-dom/src/projection/node/types.ts:95
↓ 1 callersFunctionchooseLayerType
( valueName: "layout" | "enter" | "exit" | "new" | "old" )
packages/motion-dom/src/view/utils/choose-layer-type.ts:1
↓ 1 callersFunctioncircIn
(p)
packages/motion-utils/src/easing/circ.ts:5
↓ 1 callersFunctionclampRgbUnit
(v: number)
packages/motion-dom/src/value/types/color/rgba.ts:7
↓ 1 callersMethodclearListeners
()
packages/motion-dom/src/value/index.ts:276
↓ 1 callersMethodclearMeasurements
()
packages/motion-dom/src/projection/node/types.ts:115
↓ 1 callersMethodclearSnapshot
()
packages/motion-dom/src/projection/node/types.ts:91
↓ 1 callersFunctionclearStatsBuffer
()
packages/motion-dom/src/stats/index.ts:3
↓ 1 callersFunctionclosestItem
(arr: T[], item: T)
dev/react/src/tests/drag-tabs.tsx:152
↓ 1 callersMethodcollectTargets
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:317
↓ 1 callersFunctioncommit
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:233
↓ 1 callersMethodcommitStyles
* 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 callersMethodcomplete
()
packages/motion-dom/src/animation/JSAnimation.ts:498
↓ 1 callersFunctioncomposeRefs
* A utility to compose multiple refs together * Accepts callback refs and RefObject(s)
packages/framer-motion/src/utils/use-composed-ref.ts:24
↓ 1 callersFunctionconvertAttrKey
(key: string)
packages/motion-dom/src/effects/svg/index.ts:60
↓ 1 callersFunctionconvertBoxToBoundingBox
({ x, y }: Box)
packages/motion-dom/src/projection/geometry/conversion.ts:20
↓ 1 callersFunctionconvertNumbersToZero
(v: number | string)
packages/motion-dom/src/value/types/complex/index.ts:112
↓ 1 callersFunctionconvertToZero
( value: ComplexValues[number], splitBefore: string )
packages/motion-dom/src/value/types/complex/index.ts:129
↓ 1 callersFunctioncreateAnimateFunction
(visualElement: any)
packages/motion-dom/src/render/utils/animation-state.ts:48
↓ 1 callersFunctioncreateMixers
( output: T[], ease?: EasingFunction | EasingFunction[], customMixer?: MixerFactory<T> )
packages/motion-dom/src/utils/interpolate.ts:19
↓ 1 callersFunctioncreateObject
()
packages/framer-motion/src/animation/hooks/use-animated-state.ts:18
↓ 1 callersFunctioncreateProjectionNode
( visualElement: VisualElement<any>, props: MotionProps, ProjectionNodeConstructor: any, initi
packages/framer-motion/src/motion/utils/use-visual-element.ts:191
↓ 1 callersFunctioncreateRenderStep
(runNextFrame: () => void)
packages/motion-dom/src/frameloop/render-step.ts:3
↓ 1 callersFunctioncreateResizeObserver
()
packages/motion-dom/src/resize/handle-element.ts:47
↓ 1 callersFunctioncreateResolvablePromise
()
packages/framer-motion/src/utils/__tests__/use-instant-transition.test.tsx:184
↓ 1 callersFunctioncreateSvgRenderState
()
packages/framer-motion/src/render/svg/utils/create-render-state.ts:4
↓ 1 callersFunctioncreateTypes
(input, file)
packages/motion-utils/rollup.config.mjs:120
↓ 1 callersFunctioncreateTypes
(input, file)
packages/motion-dom/rollup.config.mjs:123
↓ 1 callersFunctioncreateWindowResizeHandler
()
packages/motion-dom/src/resize/handle-window.ts:7
↓ 1 callersFunctioncriticallyDampedSpring
( target: unknown )
packages/motion-dom/src/animation/utils/default-transitions.ts:11
↓ 1 callersFunctiondelay
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:249
↓ 1 callersMethoddirty
()
packages/motion-dom/src/value/index.ts:332
↓ 1 callersFunctiondirtyAll
()
packages/motion-dom/src/projection/node/group.ts:16
↓ 1 callersMethoddisconnect
()
packages/framer-motion/src/utils/__tests__/mock-intersection-observer.ts:29
↓ 1 callersFunctiondriver
(update: (v: number) => void)
packages/motion-dom/src/animation/__tests__/utils.ts:7
↓ 1 callersFunctioneachAxis
(handler: (axis: "x" | "y") => T)
packages/framer-motion/src/utils/each-axis.ts:2
↓ 1 callersFunctionenableKeyboardPress
( focusEvent: FocusEvent, eventOptions: AddEventListenerOptions )
packages/motion-dom/src/gestures/press/utils/keyboard.ts:19
↓ 1 callersMethodenter
(keyframes: DOMKeyframesDefinition, options?: AnimationOptions)
packages/motion-dom/src/view/index.ts:177
↓ 1 callersMethodexitAnimationComplete
()
packages/motion-dom/src/projection/shared/stack.ts:76
↓ 1 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-shared-fragment.ts:8
↓ 1 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-read-transform.ts:8
↓ 1 callersFunctionfilterProps
( props: MotionProps, isDom: boolean, forwardMotionProps: boolean )
packages/framer-motion/src/render/dom/utils/filter-props.ts:45
↓ 1 callersMethodfinalize
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:406
↓ 1 callersFunctionfinalizeCrop
()
packages/motion-dom/src/view/start.ts:367
↓ 1 callersFunctionfindSpring
({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.v
packages/motion-dom/src/animation/generators/spring.ts:72
↓ 1 callersFunctionfinishAnimation
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2369
↓ 1 callersMethodfinishAnimation
()
packages/motion-dom/src/projection/node/types.ts:130
↓ 1 callersFunctionfireEvent
(element: Element, event: any)
packages/framer-motion/src/events/__tests__/utils/fire-event.ts:2
↓ 1 callersFunctionflushKeyframeResolvers
()
packages/motion-dom/src/animation/keyframes/KeyframesResolver.ts:89
↓ 1 callersFunctionflushPendingFrame
* 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 callersFunctionforceRender
()
dev/react/src/tests/scroll-projection.tsx:17
↓ 1 callersFunctiongenerateParagraphLength
()
dev/react/src/examples/useViewportScroll.tsx:11
↓ 1 callersFunctiongenerateParagraphLength
()
dev/react/src/examples/useScroll.tsx:10
↓ 1 callersFunctiongenerateParagraphLength
()
dev/react/src/examples/Animation-height-auto-display-none.tsx:128
↓ 1 callersFunctiongenerateParagraphLength
()
dev/react/src/examples/Animation-height-auto-rotate-scale.tsx:127
↓ 1 callersFunctiongenerateSlug
* 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 callersFunctiongetAnimationMap
(element: Element)
packages/motion-dom/src/animation/utils/active-animations.ts:11
↓ 1 callersFunctiongetClosestProjectingNode
( visualElement?: VisualElement< unknown, unknown, { allowProjection?: boolean }
packages/framer-motion/src/motion/utils/use-visual-element.ts:237
↓ 1 callersMethodgetClosestProjectingParent
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1344
↓ 1 callersFunctiongetColorType
(v: Color | string)
packages/motion-dom/src/utils/mix/color.ts:20
↓ 1 callersFunctiongetComputedStyle
(element: HTMLElement)
packages/motion-dom/src/render/html/HTMLVisualElement.ts:20
↓ 1 callersFunctiongetCurrentDirection
* 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 callersFunctiongetDefaultTransition
( valueKey: string, { keyframes }: ValueAnimationOptions )
packages/motion-dom/src/animation/utils/default-transitions.ts:35
↓ 1 callersFunctiongetElem
()
packages/framer-motion/src/events/__tests__/types.test.tsx:7
↓ 1 callersFunctiongetFeatureDefinitions
()
packages/motion-dom/src/render/VisualElement.ts:76
↓ 1 callersFunctiongetFromSource
()
packages/framer-motion/src/value/use-follow-value.ts:68
↓ 1 callersMethodgetGeneratorVelocity
* 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 callersFunctiongetInverseMatrix
(element: HTMLElement)
packages/framer-motion/src/utils/transform-rotated-parent.ts:66
↓ 1 callersMethodgetKeyframes
()
packages/motion-dom/src/view/types.global.ts:24
↓ 1 callersFunctiongetNextIngredient
(ingredients: Ingredient[])
dev/react/src/tests/drag-tabs.tsx:163
↓ 1 callersFunctiongetProjectionFunctionality
(props: MotionProps)
packages/framer-motion/src/motion/index.tsx:204
↓ 1 callersFunctiongetProjectionParent
(element: Element)
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:75
↓ 1 callersMethodgetRoot
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:400
↓ 1 callersFunctiongetScrollAmount
( pointerPosition: number, scrollElement: HTMLElement, axis: "x" | "y" )
packages/framer-motion/src/components/Reorder/utils/auto-scroll.ts:64
↓ 1 callersFunctiongetSpringOptions
(options: SpringOptions)
packages/motion-dom/src/animation/generators/spring.ts:171
↓ 1 callersFunctiongetTForX
(aX: number)
packages/motion-utils/src/easing/cubic-bezier.ts:66
↓ 1 callersFunctiongetTargetSize
(target: Element)
packages/framer-motion/src/render/dom/scroll/offsets/index.ts:10
↓ 1 callersFunctiongetValueTransition
( transition: DynamicAnimationOptions & At, key: string )
packages/framer-motion/src/animation/sequence/create.ts:480
↓ 1 callersFunctiongetVariableValue
( current: CSSVariableToken, element: Element, depth = 1 )
packages/motion-dom/src/animation/utils/css-variables-conversion.ts:27
↓ 1 callersFunctiongetVariantContext
( visualElement?: any )
packages/motion-dom/src/render/utils/get-variant-context.ts:20
↓ 1 callersFunctiongetVelocity
(history: TimestampedPoint[], timeDelta: number)
packages/framer-motion/src/gestures/pan/PanSession.ts:383
↓ 1 callersFunctiongetVersion
* Extract version from package.json
scripts/notify-slack.js:12
↓ 1 callersFunctiongetVersionChangelog
* Extract changelog section for a specific version
scripts/notify-slack.js:32
↓ 1 callersFunctiongetVersionType
* Parse version string to determine if it's major, minor, or patch * Based on semantic versioning (x.y.z)
scripts/generate-changelog.js:33
← previousnext →701–800 of 1,999, ranked by callers