MCPcopy Index your code

hub / github.com/motiondivision/motion / functions

Functions1,999 in github.com/motiondivision/motion

↓ 14 callersFunctionpress
( targetOrSelector: ElementOrSelector, onPressStart: OnPressStartEvent, options: PointerEventOptio
packages/motion-dom/src/gestures/press/index.ts:47
↓ 14 callersMethodstart
* Start a drag gesture on every `motion` component that has this set of drag controls * passed into it via the `dragControls` prop. * *
packages/framer-motion/src/gestures/drag/use-drag-controls.ts:57
↓ 14 callersMethodstart
* Registers a new animation to control this `MotionValue`. Only one * animation can drive a `MotionValue` at one time. * * ```jsx
packages/motion-dom/src/value/index.ts:442
↓ 13 callersFunctionanimateSync
( animation: KeyframeGenerator<string | number>, timeStep = 200, round = true )
packages/motion-dom/src/animation/__tests__/utils.ts:39
↓ 13 callersFunctionapplyConstraints
( point: number, { min, max }: Partial<Axis>, elastic?: Axis )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:16
↓ 13 callersFunctionb
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:1168
↓ 13 callersFunctioncalcRelativeAxisConstraints
( axis: Axis, min?: number, max?: number )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:62
↓ 13 callersMethodclear
()
packages/motion-utils/src/subscription-manager.ts:43
↓ 13 callersFunctiond
()
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:30
↓ 13 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/drag-to-reorder.ts:8
↓ 13 callersFunctionfireScroll
(distance: number = 0)
packages/framer-motion/src/render/dom/scroll/__tests__/index.test.ts:66
↓ 13 callersMethodisAnimating
* Returns `true` if this value is currently animating. * * @public
packages/motion-dom/src/value/index.ts:480
↓ 13 callersFunctionisWaapiSupportedEasing
(easing?: Easing | Easing[])
packages/motion-dom/src/animation/waapi/easing/is-supported.ts:5
↓ 13 callersFunctionmillisecondsToSeconds
(milliseconds: number)
packages/motion-utils/src/time-conversion.ts:12
↓ 13 callersFunctionmixVisibility
(origin: string, target: string)
packages/motion-dom/src/utils/mix/visibility.ts:8
↓ 13 callersFunctionpregenerateKeyframes
( generator: KeyframeGenerator<number> )
packages/motion-dom/src/animation/generators/utils/pregenerate.ts:11
↓ 13 callersMethodstop
()
packages/motion-dom/src/animation/NativeAnimation.ts:153
↓ 12 callersFunctioncleanup
()
packages/motion-dom/src/view/start.ts:441
↓ 12 callersFunctioncopyBoxInto
(box: Box, originBox: Box)
packages/motion-dom/src/projection/geometry/copy.ts:18
↓ 12 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: Partial<BoundingBox>)
packages/framer-motion/cypress/integration/animate-presence-pop-shadow-root.ts:8
↓ 12 callersFunctionisHTMLElement
(element: unknown)
packages/motion-dom/src/utils/is-html-element.ts:7
↓ 12 callersFunctionmixComplex
( origin: AnyResolvedKeyframe, target: AnyResolvedKeyframe )
packages/motion-dom/src/utils/mix/complex.ts:100
↓ 12 callersMethodpause
()
packages/motion-dom/src/animation/JSAnimation.ts:476
↓ 12 callersMethodplay
()
packages/motion-dom/src/animation/JSAnimation.ts:439
↓ 12 callersFunctionpointerLeave
(element: Element, options?: any)
packages/framer-motion/src/jest.setup.tsx:54
↓ 12 callersMethodsetOptions
(options: ProjectionNodeOptions)
packages/motion-dom/src/projection/node/types.ts:57
↓ 12 callersFunctionshowError
(element, msg)
dev/html/src/imports/script-assert.js:5
↓ 12 callersFunctiontranslateAxis
(axis: Axis, distance: number)
packages/motion-dom/src/projection/geometry/delta-apply.ts:150
↓ 12 callersFunctionusePresence
( subscribe: boolean = true )
packages/framer-motion/src/components/AnimatePresence/use-presence.ts:40
↓ 11 callersFunctioncubicBezierAsString
([a, b, c, d]: BezierDefinition)
packages/motion-dom/src/animation/waapi/easing/cubic-bezier.ts:3
↓ 11 callersFunctioneachAxis
(callback: Callback)
packages/motion-dom/src/projection/utils/each-axis.ts:3
↓ 11 callersFunctionfindValueType
(v: any)
packages/motion-dom/src/value/types/utils/find.ts:14
↓ 11 callersMethodmount
* Lifecycles
packages/motion-dom/src/projection/node/create-projection-node.ts:439
↓ 11 callersFunctionscrollInfo
( onScroll: OnScrollInfo, { container = document.scrollingElement as Element, trackCon
packages/framer-motion/src/render/dom/scroll/track.ts:18
↓ 10 callersFunctionbuild
( latest: ResolvedValues, { style = {}, vars = {}, transform = {}, tra
packages/framer-motion/src/render/html/utils/__tests__/build-styles.test.ts:123
↓ 10 callersFunctioncreateTestNode
( parent?: any, options?: ProjectionNodeOptions, latestValues: any = {} )
packages/motion-dom/src/projection/node/__tests__/TestProjectionNode.ts:31
↓ 10 callersMethoddidUpdate
()
packages/motion-dom/src/projection/node/types.ts:86
↓ 10 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-relative-drag.ts:8
↓ 10 callersFunctiong
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:84
↓ 10 callersMethodget
(name: string)
packages/motion-dom/src/effects/MotionValueState.ts:58
↓ 10 callersFunctionisNone
(value: AnyResolvedKeyframe | null)
packages/motion-dom/src/animation/keyframes/utils/is-none.ts:4
↓ 10 callersFunctionisZeroValueString
(v: string)
packages/motion-utils/src/is-zero-value-string.ts:4
↓ 10 callersMethodjump
* Set the state of the `MotionValue`, stopping any active animations, * effects, and resets velocity to `0`.
packages/motion-dom/src/value/index.ts:324
↓ 10 callersFunctionnextFrame
()
packages/motion-dom/src/effects/__tests__/attr-effect.test.ts:5
↓ 10 callersMethodscheduleRender
(notifyAll?: boolean)
packages/motion-dom/src/projection/node/types.ts:102
↓ 10 callersFunctionspringValue
( source: T | MotionValue<T>, options?: SpringOptions )
packages/motion-dom/src/value/spring-value.ts:20
↓ 10 callersFunctionsupportsBrowserAnimation
( options: ValueAnimationOptionsWithRenderContext<T> )
packages/motion-dom/src/animation/waapi/supports/waapi.ts:26
↓ 10 callersFunctiontransform
( ...args: | [number, number[], T[], TransformOptions<T>?] | [number[], T[], TransformOpti
packages/motion-dom/src/utils/transform.ts:102
↓ 10 callersFunctionunmount
()
packages/framer-motion/src/animation/hooks/__tests__/use-animate.test.tsx:86
↓ 10 callersFunctionwarning
()
packages/motion-utils/src/errors.ts:9
↓ 10 callersFunctionwrap
(min: number, max: number, v: number)
packages/motion-utils/src/wrap.ts:1
↓ 9 callersFunctionarc
(options: ArcOptions = {})
packages/motion-dom/src/animation/utils/arc.ts:219
↓ 9 callersFunctioncalcRelativePosition
( target: Box, layout: Box, parent: Box, anchor?: Point )
packages/motion-dom/src/projection/geometry/delta-calc.ts:108
↓ 9 callersFunctioncreateDelta
()
packages/motion-dom/src/projection/geometry/models.ts:10
↓ 9 callersFunctioncreateMockOptions
(overrides: Record<string, any> = {})
packages/motion-dom/src/animation/waapi/supports/__tests__/waapi.test.ts:12
↓ 9 callersFunctioneasingDefinitionToFunction
( definition: Easing )
packages/motion-utils/src/easing/utils/map.ts:29
↓ 9 callersFunctionfindDimensionValueType
(v: any)
packages/motion-dom/src/value/types/dimensions.ts:14
↓ 9 callersMethodgetAxisMotionValue
* Drag works differently depending on which props are provided. * * - If _dragX and _dragY are provided, we output the gesture delta directl
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:544
↓ 9 callersFunctiongetCurrentTreeVariants
( props: MotionProps, context: MotionContextProps )
packages/framer-motion/src/context/MotionContext/utils.ts:5
↓ 9 callersMethodgetStack
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1882
↓ 9 callersFunctionisNumericalString
(v: string)
packages/motion-utils/src/is-numerical-string.ts:4
↓ 9 callersFunctionisPrimaryPointer
(event: PointerEvent)
packages/motion-dom/src/gestures/utils/is-primary-pointer.ts:1
↓ 9 callersFunctionisSVGElement
(element: unknown)
packages/motion-dom/src/utils/is-svg-element.ts:7
↓ 9 callersFunctionisTransitionDefined
( transition: Transition & { elapsed?: number; from?: AnyResolvedKeyframe } )
packages/motion-dom/src/animation/utils/is-transition-defined.ts:22
↓ 9 callersFunctionmapEasingToNativeEasing
( easing: Easing | Easing[] | undefined, duration: number )
packages/motion-dom/src/animation/waapi/easing/map-easing.ts:7
↓ 9 callersFunctionmapValue
( inputValue: MotionValue<number>, inputRange: MapInputRange, outputRange: O[], options?: Tran
packages/motion-dom/src/value/map-value.ts:44
↓ 9 callersFunctionmemo
(callback: () => T)
packages/motion-utils/src/memo.ts:2
↓ 9 callersFunctionnextFrame
()
packages/motion-dom/src/value/__tests__/map-value.test.ts:5
↓ 9 callersFunctionremoveItem
(arr: T[], item: T)
packages/motion-utils/src/array.ts:5
↓ 9 callersFunctionresolveElements
( elementOrSelector: ElementOrSelector, scope?: AnimationScope, selectorCache?: SelectorCache )
packages/motion-dom/src/utils/resolve-elements.ts:22
↓ 9 callersFunctionscrollAnimate
( scope: React.RefObject<HTMLDivElement>, animate: any, options?: AnimationOptions )
dev/react/src/tests/scroll-default-ease.tsx:12
↓ 9 callersFunctionuseDragControls
()
packages/framer-motion/src/gestures/drag/use-drag-controls.ts:128
↓ 8 callersFunctionbuildProjectionTransform
( delta: Delta, treeScale: Point, latestTransform?: ResolvedValues )
packages/motion-dom/src/projection/styles/transform.ts:4
↓ 8 callersFunctioncreateTypes
(input, file)
packages/framer-motion/rollup.config.mjs:173
↓ 8 callersFunctioncubicBezier
( mX1: number, mY1: number, mX2: number, mY2: number )
packages/motion-utils/src/easing/cubic-bezier.ts:57
↓ 8 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: BoundingBox)
packages/framer-motion/cypress/integration/layout-shared-lightbox-crossfade.ts:8
↓ 8 callersFunctionh
(b, c)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:91
↓ 8 callersFunctionhasTransform
(values: ResolvedValues)
packages/motion-dom/src/projection/utils/has-transform.ts:16
↓ 8 callersFunctionisBezierDefinition
( easing: Easing | Easing[] )
packages/motion-utils/src/easing/utils/is-bezier-definition.ts:4
↓ 8 callersFunctionisSVGComponent
(Component: string | React.ComponentType<any>)
packages/framer-motion/src/render/dom/utils/is-svg-component.ts:4
↓ 8 callersFunctionmixValues
( target: ResolvedValues, follow: ResolvedValues, lead: ResolvedValues, progress: number,
packages/motion-dom/src/projection/animation/mix-values.ts:21
↓ 8 callersFunctionnextFrame
()
packages/motion-dom/src/value/__tests__/transform-value.test.ts:5
↓ 8 callersFunctionresolveMotionValue
( value?: AnyResolvedKeyframe | MotionValue )
packages/motion-dom/src/value/utils/resolve-motion-value.ts:8
↓ 8 callersFunctions
(a, b, c, d)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:201
↓ 8 callersFunctionscalePoint
(point: number, scale: number, originPoint: number)
packages/motion-dom/src/projection/geometry/delta-apply.ts:9
↓ 8 callersFunctionsetProgress
(offset: number, maxOffset: number, value: MotionValue)
packages/framer-motion/src/value/scroll/utils.ts:31
↓ 8 callersFunctionshallowCompare
(next: any[], prev: any[] | null)
packages/framer-motion/src/utils/shallow-compare.ts:1
↓ 8 callersMethodstop
* Stops a drag gesture. * * ```jsx * dragControls.stop() * ``` * * @public
packages/framer-motion/src/gestures/drag/use-drag-controls.ts:93
↓ 8 callersFunctionwarnOnce
( condition: boolean, message: string, errorCode?: string )
packages/motion-utils/src/warn-once.ts:9
↓ 7 callersFunctionapplyAxisDelta
( axis: Axis, translate: number = 0, scale: number = 1, originPoint: number, boxScale?: nu
packages/motion-dom/src/projection/geometry/delta-apply.ts:35
↓ 7 callersFunctioncalculateRepeatDuration
( duration: number, repeat: number, repeatDelay: number )
packages/framer-motion/src/animation/sequence/utils/calc-repeat-duration.ts:1
↓ 7 callersFunctioncheckShouldInheritVariant
({ animate, variants, inherit, }: MotionProps)
packages/framer-motion/src/motion/utils/should-inherit-variant.ts:3
↓ 7 callersFunctioncreateTypeState
(isActive = false)
packages/motion-dom/src/render/utils/animation-state.ts:505
↓ 7 callersMethodexit
(keyframes: DOMKeyframesDefinition, options?: AnimationOptions)
packages/motion-dom/src/view/index.ts:183
↓ 7 callersFunctiongetValueAsType
(value: any, type?: ValueType)
packages/motion-dom/src/value/types/utils/get-as-type.ts:6
↓ 7 callersFunctionisCSSVariableToken
( value?: string )
packages/motion-dom/src/animation/utils/is-css-variable.ts:17
↓ 7 callersFunctionisRefObject
(ref: any)
packages/framer-motion/src/utils/is-ref-object.ts:3
↓ 7 callersFunctionisSVGSVGElement
(element: unknown)
packages/motion-dom/src/utils/is-svg-svg-element.ts:7
↓ 7 callersFunctionj
(a, b)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:130
↓ 7 callersFunctionpipe
(...transformers: Function[])
packages/motion-utils/src/pipe.ts:8
← previousnext →101–200 of 1,999, ranked by callers