MCPcopy Create free account

hub / github.com/motiondivision/motion / functions

Functions1,999 in github.com/motiondivision/motion

↓ 2 callersFunctiongetEventTarget
(element: Element)
packages/framer-motion/src/render/dom/scroll/track.ts:15
↓ 2 callersFunctiongetGeneratorVelocity
( resolveValue: (v: number) => number, t: number, current: number )
packages/motion-dom/src/animation/generators/utils/velocity.ts:5
↓ 2 callersFunctiongetInitializedFeatureDefinitions
()
packages/framer-motion/src/motion/features/definitions.ts:55
↓ 2 callersFunctiongetMax
( animations: GroupedAnimations, propName: "iterationDuration" | "duration" )
packages/motion-dom/src/animation/GroupAnimation.ts:115
↓ 2 callersFunctiongetRadius
(values: ResolvedValues, radiusName: string)
packages/motion-dom/src/projection/animation/mix-values.ts:96
↓ 2 callersFunctiongetSize
( borderBoxAxis: "inline" | "block", svgAxis: "width" | "height", htmlAxis: "offsetWid
packages/motion-dom/src/resize/handle-element.ts:10
↓ 2 callersFunctiongetSubjectSequence
( subject: Element | MotionValue | O, sequences: Map<Element | MotionValue | O, SequenceMap> )
packages/framer-motion/src/animation/sequence/create.ts:461
↓ 2 callersFunctiongetTimeline
({ source, container, ...options }: ScrollOptionsWithDefaults)
packages/framer-motion/src/render/dom/scroll/utils/get-timeline.ts:38
↓ 2 callersFunctiongetValueParam
(params: any, name: string, isPercentage: boolean)
dev/react/src/tests/drag.tsx:4
↓ 2 callersFunctiongetValueSequence
(name: string, sequences: SequenceMap)
packages/framer-motion/src/animation/sequence/create.ts:469
↓ 2 callersFunctiongetValueState
(visualElement?: any)
packages/motion-dom/src/render/utils/resolve-variants.ts:9
↓ 2 callersFunctionhandleHoverEvent
( node: VisualElement<Element>, event: PointerEvent, lifecycle: "Start" | "End" )
packages/framer-motion/src/gestures/hover.ts:4
↓ 2 callersFunctionhandlePressEvent
( node: VisualElement<Element>, event: PointerEvent, lifecycle: "Start" | "End" | "Cancel" )
packages/framer-motion/src/gestures/press.ts:4
↓ 2 callersMethodhandleScroll
* Handle scroll compensation during drag. * * For element scroll: adjusts history origin since pageX/pageY doesn't change. * For window
packages/framer-motion/src/gestures/pan/PanSession.ts:238
↓ 2 callersFunctionhas2DTranslate
(values: ResolvedValues)
packages/motion-dom/src/projection/utils/has-transform.ts:29
↓ 2 callersFunctionhslaToRgba
({ hue, saturation, lightness, alpha }: HSLA)
packages/motion-dom/src/value/types/color/hsla-to-rgba.ts:13
↓ 2 callersMethodinitAnimation
()
packages/motion-dom/src/animation/JSAnimation.ts:101
↓ 2 callersFunctioninitPrefersReducedMotion
()
packages/motion-dom/src/render/utils/reduced-motion/index.ts:5
↓ 2 callersFunctioninterpolator
(v: number)
packages/motion-dom/src/utils/interpolate.ts:93
↓ 2 callersFunctioninvert
(scale: number, point: number)
dev/react/src/examples/_dragDevice.tsx:16
↓ 2 callersFunctionis2DTranslate
(value: AnyResolvedKeyframe | undefined)
packages/motion-dom/src/projection/utils/has-transform.ts:33
↓ 2 callersFunctionisAxisDeltaZero
(delta: AxisDelta)
packages/motion-dom/src/projection/geometry/utils.ts:4
↓ 2 callersFunctionisControllingVariants
(props: MotionNodeOptions)
packages/motion-dom/src/render/utils/is-controlling-variants.ts:6
↓ 2 callersFunctionisDeltaZero
(delta: Delta)
packages/motion-dom/src/projection/geometry/utils.ts:8
↓ 2 callersFunctionisDragActive
()
packages/motion-dom/src/gestures/drag/state/is-active.ts:6
↓ 2 callersFunctionisEasingArray
(ease: any)
packages/motion-utils/src/easing/utils/is-easing-array.ts:4
↓ 2 callersFunctionisForcedMotionValue
( key: string, { layout, layoutId }: MotionNodeOptions )
packages/motion-dom/src/render/utils/is-forced-motion-value.ts:10
↓ 2 callersMethodisLead
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1867
↓ 2 callersFunctionisNumOrPxType
(v?: ValueType)
packages/motion-dom/src/animation/keyframes/utils/unit-conversion.ts:11
↓ 2 callersFunctionisP3
(value: T)
dev/react/src/tests/animate-custom-mix.tsx:10
↓ 2 callersMethodisProjecting
()
packages/motion-dom/src/projection/node/types.ts:118
↓ 2 callersFunctionisPx
(value: AnyResolvedKeyframe)
packages/motion-dom/src/projection/animation/mix-values.ts:18
↓ 2 callersFunctionisSVGTag
(tag: unknown)
packages/motion-dom/src/render/svg/utils/is-svg-tag.ts:1
↓ 2 callersFunctionisSpringType
(options: SpringOptions, keys: string[])
packages/motion-dom/src/animation/generators/spring.ts:167
↓ 2 callersFunctionisSquareRadius
(radius: string)
packages/motion-dom/src/view/start.ts:32
↓ 2 callersMethodisUpdateBlocked
()
packages/motion-dom/src/projection/node/create-projection-node.ts:628
↓ 2 callersFunctionisValidPressEvent
* Filter out events that are not primary pointer events, or are triggering * while a Motion gesture is active.
packages/motion-dom/src/gestures/press/index.ts:17
↓ 2 callersFunctionlastDevicePoint
(history: TimestampedPoint[])
packages/framer-motion/src/gestures/pan/PanSession.ts:379
↓ 2 callersFunctionlayerNames
(pseudos: string[])
tests/view/view-targets.spec.ts:56
↓ 2 callersFunctionlistener
()
packages/framer-motion/src/render/dom/scroll/track.ts:70
↓ 2 callersFunctionloadExternalIsValidProp
(isValidProp?: IsValidProp)
packages/framer-motion/src/render/dom/utils/filter-props.ts:9
↓ 2 callersFunctionm
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:157
↓ 2 callersFunctionmakeAccelerateConfig
( axis: "x" | "y", options: Omit<UseScrollOptions, "container" | "target">, container?: RefObject<
packages/framer-motion/src/value/use-scroll.ts:37
↓ 2 callersFunctionmarkToAnimate
(key: string)
packages/motion-dom/src/render/utils/animation-state.ts:279
↓ 2 callersMethodmeasure
(removeTransform = true)
packages/motion-dom/src/projection/node/create-projection-node.ts:998
↓ 2 callersFunctionmeasureLayers
(phase: "old" | "new")
packages/motion-dom/src/view/start.ts:342
↓ 2 callersFunctionmeasureViewportBox
( instance: HTMLElement, transformPoint?: TransformPoint )
packages/motion-dom/src/projection/utils/measure.ts:8
↓ 2 callersFunctionmeasureWith
(container: Element, target: Element)
packages/framer-motion/src/render/dom/scroll/__tests__/on-scroll-handler.test.ts:33
↓ 2 callersFunctionmergeTransition
* Merge a base transition (e.g. the default `options`) with a per-layer/value * override. An explicit `duration` on the override must win over an inh
packages/motion-dom/src/view/start.ts:915
↓ 2 callersFunctionmixArray
(a: MixableArray, b: MixableArray)
packages/motion-dom/src/utils/mix/complex.ts:44
↓ 2 callersFunctionmixAxis
(output: Axis, from: Axis, to: Axis, p: number)
packages/motion-dom/src/projection/node/create-projection-node.ts:2398
↓ 2 callersFunctionmixAxisDeltaLinear
(output: AxisDelta, delta: AxisDelta, p: number)
packages/motion-dom/src/projection/node/create-projection-node.ts:2391
↓ 2 callersFunctionmixImmediate
(a: T, b: T)
packages/motion-dom/src/utils/mix/immediate.ts:1
↓ 2 callersFunctionmoveItem
( id: number, targetListId: number, [a, b]: number[][], setLists: (lists: number[][]) => void
dev/react/src/examples/Shared-layout-lists.tsx:108
↓ 2 callersFunctionnextFrame
()
packages/framer-motion/src/motion/__tests__/animate-no-browser.test.tsx:20
↓ 2 callersFunctionnextFrame
()
packages/motion-dom/src/animation/__tests__/JSAnimation.test.ts:7
↓ 2 callersFunctiono
(a, b, c)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:165
↓ 2 callersMethodobserve
(_element: Element)
packages/framer-motion/src/utils/__tests__/mock-intersection-observer.ts:21
↓ 2 callersMethodobserve
(element: Element)
packages/motion-dom/src/resize/__tests__/mock-resize-observer.ts:21
↓ 2 callersFunctionobserveTimeline
(update: Update, timeline: ProgressTimeline)
packages/motion-dom/src/scroll/observe.ts:6
↓ 2 callersFunctiononComplete
()
packages/framer-motion/src/motion/__tests__/lazy.test.tsx:9
↓ 2 callersFunctiononDrag
()
dev/react/src/examples/_dragSetState.tsx:14
↓ 2 callersFunctiononPointerEnd
(endEvent: PointerEvent, success: boolean)
packages/motion-dom/src/gestures/press/index.ts:79
↓ 2 callersMethodonUpdate
* Callback with latest motion values, fired max once per frame. * * ```jsx * function onUpdate(latest) { * console.log(latest.x,
packages/motion-dom/src/node/types.ts:270
↓ 2 callersFunctiononlyElements
(children: ReactNode)
packages/framer-motion/src/components/AnimatePresence/utils.ts:8
↓ 2 callersMethodpause
()
packages/motion-dom/src/animation/NativeAnimation.ts:139
↓ 2 callersFunctionpointerMove
(element: Element)
packages/framer-motion/src/jest.setup.tsx:79
↓ 2 callersFunctionprepareNode
( element: HTMLElement, transition?: Transition )
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:118
↓ 2 callersFunctionprocessFrame
* Process a single frame at the given timestamp, running all frame loop steps.
packages/motion-dom/src/value/__tests__/follow-value-framerate.test.ts:10
↓ 2 callersMethodpromote
(node: IProjectionNode, preserveFollowOpacity?: boolean)
packages/motion-dom/src/projection/shared/stack.ts:45
↓ 2 callersFunctionr
(a, b, c, d, e, f)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:190
↓ 2 callersFunctionrandomInt
(min, max)
dev/react/src/examples/useViewportScroll.tsx:10
↓ 2 callersFunctionrandomInt
(min, max)
dev/react/src/examples/useScroll.tsx:9
↓ 2 callersFunctionrandomInt
(min, max)
dev/react/src/examples/Animation-height-auto-display-none.tsx:127
↓ 2 callersFunctionrandomInt
(min, max)
dev/react/src/examples/Animation-height-auto-rotate-scale.tsx:126
↓ 2 callersMethodreadKeyframes
()
packages/motion-dom/src/animation/keyframes/KeyframesResolver.ts:161
↓ 2 callersFunctionreadNodeOptions
(element: HTMLElement, transition?: Transition)
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:104
↓ 2 callersFunctionremove
(arr: number[], item: number)
dev/react/src/examples/AnimatePresence-notifications-list.tsx:56
↓ 2 callersFunctionremove
(arr: number[], item: number)
dev/react/src/examples/AnimatePresence-notifications-list-pop.tsx:56
↓ 2 callersFunctionremoveAxisTransforms
( axis: Axis, transforms: ResolvedValues, [key, scaleKey, originKey]: string[], origin?: Axis,
packages/motion-dom/src/projection/geometry/delta-remove.ts:75
↓ 2 callersFunctionremoveBoxTransforms
( box: Box, transforms: ResolvedValues, originBox?: Box, sourceBox?: Box )
packages/motion-dom/src/projection/geometry/delta-remove.ts:103
↓ 2 callersFunctionremovePointDelta
( point: number, translate: number, scale: number, originPoint: number, boxScale?: number
packages/motion-dom/src/projection/geometry/delta-remove.ts:10
↓ 2 callersMethodremoveRelativeTarget
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1390
↓ 2 callersFunctionreplaceTransitionType
(transition: ValueAnimationTransition)
packages/motion-dom/src/animation/utils/replace-transition-type.ts:14
↓ 2 callersMethodresetTransform
()
packages/motion-dom/src/projection/node/types.ts:106
↓ 2 callersFunctionresolveAxisElastic
( dragElastic: DragElastic, minLabel: string, maxLabel: string )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:214
↓ 2 callersFunctionresolveAxisTranslate
( value: number | string | undefined, axis: Axis )
packages/motion-dom/src/projection/geometry/delta-apply.ts:173
↓ 2 callersMethodresolveConstraints
()
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:340
↓ 2 callersFunctionresolveGroupTiming
(name: string)
packages/motion-dom/src/view/start.ts:306
↓ 2 callersFunctionresolveLayerTransition
( target: ViewTransitionTarget | undefined, type: string, transitionName: string,
packages/motion-dom/src/view/start.ts:275
↓ 2 callersFunctionresolveLayers
(phase: "old" | "new")
packages/motion-dom/src/view/start.ts:139
↓ 2 callersMethodresolveNoneKeyframes
()
packages/motion-dom/src/animation/keyframes/DOMKeyframesResolver.ts:126
↓ 2 callersFunctionresolvePointElastic
( dragElastic: DragElastic, label: string )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:225
↓ 2 callersMethodresolveRefConstraints
()
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:395
↓ 2 callersFunctionresolveSubjects
( subject: | string | Element | Element[] | NodeListOf<Element> |
packages/framer-motion/src/animation/animate/resolve-subjects.ts:10
↓ 2 callersFunctionresolveValueSequence
( valueKeyframes: UnresolvedValueKeyframe | UnresolvedValueKeyframe[], valueTransition
packages/framer-motion/src/animation/sequence/create.ts:102
↓ 2 callersFunctionroundAxis
(axis: Axis)
packages/motion-dom/src/projection/node/create-projection-node.ts:2434
↓ 2 callersFunctionroundBorder
(border)
dev/html/src/imports/script-assert.js:165
↓ 2 callersFunctionrow
(i)
dev/react/src/examples/Animation-stagger-custom.tsx:9
↓ 2 callersFunctionrunAnimatedValueTests
(unit?: string | undefined)
packages/framer-motion/src/value/__tests__/use-follow-value.test.tsx:49
← previousnext →501–600 of 1,999, ranked by callers