MCPcopy Create free account

hub / github.com/motiondivision/motion / functions

Functions1,999 in github.com/motiondivision/motion

↓ 4 callersFunctionisValidMotionProp
(key: string)
packages/framer-motion/src/motion/utils/valid-prop.ts:51
↓ 4 callersFunctionkeyframes
({ duration = 300, keyframes: keyframeValues, times, ease = "easeInOut", }: ValueAnimationOpti
packages/motion-dom/src/animation/generators/keyframes.ts:24
↓ 4 callersFunctionmixLinearColor
(from: number, to: number, v: number)
packages/motion-dom/src/utils/mix/color.ts:13
↓ 4 callersMethodnotify
( a?: Parameters<Handler>[0], b?: Parameters<Handler>[1], c?: Parameters<Handler>[2]
packages/motion-utils/src/subscription-manager.ts:13
↓ 4 callersMethodnotifyFinished
()
packages/motion-dom/src/animation/utils/WithPromise.ts:20
↓ 4 callersFunctionnum
(v: unknown)
tests/view/view-targets.spec.ts:342
↓ 4 callersFunctionpaginate
(newDelta: number)
dev/react/src/examples/AnimatePresence-image-gallery.tsx:55
↓ 4 callersFunctionparseTranslate
* Extract translateX and translateY values from a CSS transform string.
packages/framer-motion/cypress/integration/drag-svg-viewbox.ts:20
↓ 4 callersFunctionpixelsToPercent
(pixels: number, axis: Axis)
packages/motion-dom/src/projection/styles/scale-border-radius.ts:5
↓ 4 callersFunctionpropagateDirtyNodes
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2289
↓ 4 callersFunctionrecordStats
()
packages/motion-dom/src/stats/index.ts:8
↓ 4 callersFunctionreplaceSettings
(env)
packages/motion/rollup.config.mjs:16
↓ 4 callersFunctionreplaceSettings
(env)
packages/motion-utils/rollup.config.mjs:14
↓ 4 callersMethodscheduleRender
(notifyAll = true)
packages/motion-dom/src/projection/node/create-projection-node.ts:1563
↓ 4 callersFunctionshouldDrag
( direction: DragDirection, drag: boolean | DragDirection | undefined, currentDirection: null | Dr
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:816
↓ 4 callersFunctiontestAlternateAxes
(parentLayout: boolean, childLayout: boolean)
packages/framer-motion/cypress/integration/drag-nested.ts:366
↓ 4 callersFunctiontestNestedDrag
(parentLayout: boolean, childLayout: boolean)
packages/framer-motion/cypress/integration/drag-nested.ts:16
↓ 4 callersFunctiontestNestedDragConstraints
( parentLayout: boolean, childLayout: boolean )
packages/framer-motion/cypress/integration/drag-nested.ts:168
↓ 4 callersFunctiontestNestedDragConstraintsAndAnimation
( parentLayout: boolean, childLayout: boolean )
packages/framer-motion/cypress/integration/drag-nested.ts:276
↓ 4 callersMethodunmount
()
packages/motion-dom/src/projection/node/create-projection-node.ts:607
↓ 4 callersFunctionunwrapMotionComponent
( component: React.ComponentType | string )
packages/framer-motion/src/motion/utils/unwrap-motion-component.ts:10
↓ 4 callersFunctionupdate
()
packages/motion-dom/src/render/Feature.ts:21
↓ 4 callersMethodupdate
()
packages/framer-motion/src/value/use-will-change/WillChangeMotionValue.ts:21
↓ 4 callersFunctionupdateDelayedBy
(i: number)
packages/framer-motion/src/motion/__tests__/variant.test.tsx:811
↓ 4 callersMethodupdateLayout
()
packages/motion-dom/src/projection/node/types.ts:89
↓ 4 callersFunctionuseAnimateMini
()
packages/framer-motion/src/animation/hooks/use-animate-style.ts:8
↓ 4 callersFunctionuseAnimationFrame
(callback: FrameCallback)
packages/framer-motion/src/utils/use-animation-frame.ts:9
↓ 4 callersFunctionuseDomEvent
( ref: RefObject<EventTarget | null>, eventName: string, handler?: EventListener | undefined,
packages/framer-motion/src/events/use-dom-event.ts:27
↓ 4 callersFunctionuseInstantLayoutTransition
()
packages/framer-motion/src/projection/use-instant-layout-transition.ts:3
↓ 4 callersFunctionuseInstantTransition
()
packages/framer-motion/src/utils/use-instant-transition.ts:9
↓ 4 callersFunctionuseVelocity
(value: MotionValue<number>)
packages/framer-motion/src/value/use-velocity.ts:17
↓ 4 callersFunctionwaitForFrame
()
packages/framer-motion/src/animation/animate/__tests__/animate.test.tsx:377
↓ 3 callersFunctionaddKeyframes
( sequence: ValueSequence, keyframes: UnresolvedValueKeyframe[], easing: Easing | Easing[], of
packages/framer-motion/src/animation/sequence/utils/edit.ts:22
↓ 3 callersFunctionaddScaleCorrector
(correctors: ScaleCorrectorMap)
packages/motion-dom/src/projection/styles/scale-correction.ts:19
↓ 3 callersFunctionaddValueToWillChange
( visualElement: VisualElement, key: string )
packages/motion-dom/src/value/will-change/add-will-change.ts:5
↓ 3 callersFunctionanimateTarget
( visualElement: VisualElement, targetAndTransition: TargetAndTransition, { delay = 0, transitionO
packages/motion-dom/src/animation/interfaces/visual-element-target.ts:33
↓ 3 callersFunctionanimateType
( value: V | MotionValue<V>, target: V | V[] )
packages/framer-motion/src/animation/animate/__tests__/animate.test.tsx:112
↓ 3 callersFunctionanimateVariant
( visualElement: VisualElement, variant: string, options: VisualElementAnimationOptions = {} )
packages/motion-dom/src/animation/interfaces/visual-element-variant.ts:8
↓ 3 callersFunctionanimationControls
()
packages/framer-motion/src/animation/hooks/animation-controls.ts:45
↓ 3 callersFunctionapplyGeneratorOptions
({ type, ...options }: ValueTransition)
packages/motion-dom/src/animation/waapi/utils/apply-generator.ts:5
↓ 3 callersFunctionasyncHandler
(handler?: PanEventHandler)
packages/framer-motion/src/gestures/pan/index.ts:9
↓ 3 callersFunctionattachFollow
( value: MotionValue<T>, source: T | MotionValue<T>, options: FollowValueOptions = {} )
packages/motion-dom/src/value/follow-value.ts:66
↓ 3 callersFunctionbezierTangentAngle
( t: number, originX: number, controlX: number, targetX: number, originY: number, cont
packages/motion-dom/src/animation/utils/arc.ts:45
↓ 3 callersFunctioncalcAngularFreq
(undampedFreq: number, dampingRatio: number)
packages/motion-dom/src/animation/generators/spring.ts:50
↓ 3 callersFunctioncalcOrigin
(source: Axis, target: Axis)
packages/framer-motion/src/gestures/drag/utils/constraints.ts:126
↓ 3 callersMethodcancel
()
packages/motion-dom/src/animation/NativeAnimation.ts:147
↓ 3 callersMethodclearAllSnapshots
()
packages/motion-dom/src/projection/node/create-projection-node.ts:817
↓ 3 callersFunctioncollect
(sourceDir, outputFile)
dev/inc/collect-html-tests.js:4
↓ 3 callersFunctionconvertBoundingBoxToBox
({ top, left, right, bottom, }: BoundingBox)
packages/motion-dom/src/projection/geometry/conversion.ts:8
↓ 3 callersFunctioncopyAxisInto
(axis: Axis, originAxis: Axis)
packages/motion-dom/src/projection/geometry/copy.ts:8
↓ 3 callersFunctioncreateAxis
()
packages/motion-dom/src/projection/geometry/models.ts:15
↓ 3 callersFunctioncreateHtmlRenderState
()
packages/framer-motion/src/render/html/utils/create-render-state.ts:3
↓ 3 callersFunctioncreateSelectorEffect
( subjectEffect: ( subject: T, values: Record<string, MotionValue> ) => VoidFunction )
packages/motion-dom/src/effects/utils/create-dom-effect.ts:7
↓ 3 callersFunctioncreateUmd
(input, file)
packages/framer-motion/rollup.config.mjs:70
↓ 3 callersFunctioncreateVisualElement
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:85
↓ 3 callersFunctiondefaultTransformValue
(name: string)
packages/motion-dom/src/render/dom/parse-transform.ts:62
↓ 3 callersFunctiondistance2D
(a: Point, b: Point)
packages/framer-motion/src/utils/distance.ts:5
↓ 3 callersFunctionexpectBbox
(element: HTMLElement, expectedBbox: Partial<BoundingBox>)
packages/framer-motion/cypress/integration/drag-framer-page.ts:8
↓ 3 callersFunctionfindScrollableAncestor
( element: Element | null, axis: "x" | "y" )
packages/framer-motion/src/components/Reorder/utils/auto-scroll.ts:50
↓ 3 callersFunctionfirePointerEvent
(target: EventTarget, type: "down" | "up" | "cancel")
packages/motion-dom/src/gestures/press/utils/keyboard.ts:13
↓ 3 callersFunctionformatErrorMessage
(message: string, errorCode?: string)
packages/motion-utils/src/format-error-message.ts:1
↓ 3 callersFunctiongetChildKey
(child: ReactElement<any>)
packages/framer-motion/src/components/AnimatePresence/utils.ts:5
↓ 3 callersFunctiongetMixer
(a: T)
packages/motion-dom/src/utils/mix/complex.ts:26
↓ 3 callersFunctiongetOptimisedAppearId
( visualElement: WithAppearProps )
packages/motion-dom/src/animation/optimized-appear/get-appear-id.ts:4
↓ 3 callersFunctiongetPanInfo
({ point }: EventInfo, history: TimestampedPoint[])
packages/framer-motion/src/gestures/pan/PanSession.ts:366
↓ 3 callersMethodgetStack
()
packages/motion-dom/src/projection/node/types.ts:98
↓ 3 callersFunctiongetTextContents
()
packages/framer-motion/src/components/AnimatePresence/__tests__/AnimatePresence.test.tsx:510
↓ 3 callersMethodgetTransformTemplate
()
packages/motion-dom/src/projection/node/create-projection-node.ts:650
↓ 3 callersFunctiongetTranslateX
(element: HTMLElement)
packages/framer-motion/cypress/integration/unit-conversion.ts:9
↓ 3 callersFunctionhasScale
({ scale, scaleX, scaleY }: ResolvedValues)
packages/motion-dom/src/projection/utils/has-transform.ts:8
↓ 3 callersFunctionhueToRgb
(p: number, q: number, t: number)
packages/motion-dom/src/value/types/color/hsla-to-rgba.ts:4
↓ 3 callersFunctionisCSSVar
(name: string)
packages/motion-dom/src/render/dom/is-css-var.ts:1
↓ 3 callersFunctionisColorString
(type: string, testProp?: string)
packages/motion-dom/src/value/types/color/utils.ts:10
↓ 3 callersFunctionisDOMKeyframes
( keyframes: unknown )
packages/framer-motion/src/animation/utils/is-dom-keyframes.ts:3
↓ 3 callersFunctionisGenerator
( type?: AnimationGeneratorType )
packages/motion-dom/src/animation/generators/utils/is-generator.ts:3
↓ 3 callersFunctionisIdentityScale
(scale: AnyResolvedKeyframe | undefined)
packages/motion-dom/src/projection/utils/has-transform.ts:4
↓ 3 callersFunctionisKeyframesTarget
( v: ValueKeyframesDefinition )
packages/motion-dom/src/render/utils/is-keyframes-target.ts:3
↓ 3 callersFunctionisLazyBundle
( features: FeatureBundle | LazyFeatureBundle )
packages/framer-motion/src/components/LazyMotion/index.tsx:77
↓ 3 callersFunctionloadFeatures
(features: FeaturePackages)
packages/framer-motion/src/motion/features/load-features.ts:5
↓ 3 callersFunctionlogOpacities
()
packages/framer-motion/src/gestures/__tests__/press.test.tsx:823
↓ 3 callersFunctionmakeAnimationInstant
( options: Partial<{ duration: ValueAnimationOptions["duration"] type: ValueAnimationOptio
packages/motion-dom/src/animation/utils/make-animation-instant.ts:3
↓ 3 callersFunctionmakeUseVisualState
(config: UseVisualStateConfig<RS>)
packages/framer-motion/src/motion/utils/use-visual-state.ts:135
↓ 3 callersMethodmeasure
(removeTransform?: boolean)
packages/motion-dom/src/projection/node/types.ts:87
↓ 3 callersFunctionmemoSupports
( callback: () => T, supportsFlag: keyof typeof supportsFlags )
packages/motion-dom/src/utils/supports/memo.ts:4
↓ 3 callersMethodmount
(instance: SVGElement)
packages/motion-dom/src/render/svg/SVGVisualElement.ts:76
↓ 3 callersFunctionnodeGroup
()
packages/motion-dom/src/projection/node/group.ts:12
↓ 3 callersFunctionnormalizeTimes
( times: number[], repeat: number, repeatDelayUnits = 0 )
packages/framer-motion/src/animation/sequence/utils/normalize-times.ts:10
↓ 3 callersFunctiononStart
(name: string)
packages/framer-motion/src/motion/__tests__/variant.test.tsx:1309
↓ 3 callersFunctiononUpdate
(l: { [key: string]: number | string })
packages/framer-motion/src/motion/__tests__/variant.test.tsx:917
↓ 3 callersFunctionparseTestValue
(val: string | number)
packages/framer-motion/src/value/__tests__/use-follow-value.test.tsx:57
↓ 3 callersFunctionparseTestValue
(val: string | number)
packages/framer-motion/src/value/__tests__/use-spring.test.tsx:57
↓ 3 callersFunctionparseValue
(v: AnyResolvedKeyframe, unit?: string)
packages/motion-dom/src/value/follow-value.ts:162
↓ 3 callersMethodpromote
(options?: { needsReset?: boolean transition?: Transition preserveFollowOpacity?: bool
packages/motion-dom/src/projection/node/types.ts:135
↓ 3 callersFunctionrebaseAngle
(angle: number)
packages/motion-dom/src/render/dom/parse-transform.ts:32
↓ 3 callersFunctionrebaseAxisConstraints
( layout: Axis, constraints: Partial<Axis> )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:178
↓ 3 callersFunctionrecordAndReset
()
packages/framer-motion/src/motion/__tests__/transition-keyframes.test.tsx:131
↓ 3 callersFunctionrelativeTo
(idOrElem: string | HTMLElement)
packages/framer-motion/src/events/__tests__/types.test.tsx:4
↓ 3 callersFunctionreleaseViewTransitionNames
( assigned: Element[], classed: Element[] = [], grouped: Element[] = [] )
packages/motion-dom/src/view/utils/assign-names.ts:177
↓ 3 callersMethodrelegate
()
packages/motion-dom/src/projection/node/types.ts:140
↓ 3 callersFunctionresetDistortingTransform
( key: string, visualElement: VisualElement, values: ResolvedValues, sharedAnimationValues?: R
packages/motion-dom/src/projection/node/create-projection-node.ts:93
← previousnext →301–400 of 1,999, ranked by callers