MCPcopy Create free account

hub / github.com/motiondivision/motion / functions

Functions1,999 in github.com/motiondivision/motion

Methodbuild
()
packages/framer-motion/src/render/utils/__tests__/StateVisualElement.ts:10
Methodbuild
()
packages/framer-motion/src/animation/hooks/use-animated-state.ts:26
Methodbuild
( renderState: HTMLRenderState, latestValues: ResolvedValues, props: MotionNodeOptions
packages/motion-dom/src/render/html/HTMLVisualElement.ts:57
Methodbuild
(renderState: ObjectRenderState, latestValues: ResolvedValues)
packages/motion-dom/src/render/object/ObjectVisualElement.ts:45
FunctionbuildValue
()
packages/framer-motion/src/value/use-motion-template.ts:37
FunctioncalcProgressWithinConstraints
( layoutBox: Box, constraintsBox: Box )
packages/framer-motion/src/gestures/drag/utils/constraints.ts:148
FunctioncalcProjection
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2379
MethodcalcProjection
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1396
Functioncancel
()
packages/motion-dom/src/gestures/utils/setup.ts:21
Methodcancel
()
packages/motion-dom/src/animation/GroupAnimation.ts:106
FunctioncancelPointer
()
dev/react/src/examples/useSpring.tsx:103
Functionchange
(event: MediaQueryListEvent)
dev/react/src/tests/reorder-axis-change.tsx:17
FunctionchangeToVar
()
dev/react/src/examples/Animation-CSS-variables.tsx:24
FunctioncheckElapsed
({ timestamp }: FrameData)
packages/motion-dom/src/utils/delay.ts:14
FunctioncheckFrame
()
packages/framer-motion/src/value/__tests__/use-transform.test.tsx:161
FunctioncheckFrame
(element, frameIndex, expected)
dev/html/src/imports/script-assert.js:122
FunctioncheckNodeWasScrollRoot
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2457
FunctioncheckOffset
()
dev/react/src/tests/layout-interrupt.tsx:10
FunctioncheckRefObject
()
dev/react/src/tests/motion-ref-forwarding.tsx:51
FunctioncheckScrollDimensions
()
packages/framer-motion/src/render/dom/scroll/track.ts:99
Methodclass
* Tag this subject's generated layers with a `view-transition-class`, so * they can be targeted from CSS - `::view-transition-group(.name)`,
packages/motion-dom/src/view/index.ts:159
FunctionclearIsLayoutDirty
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2343
FunctionclearMeasurements
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2334
MethodclearMeasurements
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1158
FunctionclearSnapshot
(node: IProjectionNode)
packages/motion-dom/src/projection/node/create-projection-node.ts:2330
MethodclearSnapshot
()
packages/motion-dom/src/projection/node/create-projection-node.ts:2134
FunctionclearTime
()
packages/motion-dom/src/frameloop/sync-time.ts:6
FunctioncompareByDepth
(a: VisualElement, b: VisualElement)
packages/motion-dom/src/projection/utils/compare-by-depth.ts:7
FunctioncompareByTime
( a: AbsoluteKeyframe, b: AbsoluteKeyframe )
packages/framer-motion/src/animation/sequence/utils/sort.ts:3
FunctioncompareMin
(a: ItemData<V>, b: ItemData<V>)
packages/framer-motion/src/components/Reorder/Group.tsx:190
Functioncomplete
()
packages/framer-motion/src/components/AnimatePresence/__tests__/AnimatePresence.test.tsx:1161
Functioncomplete
()
packages/framer-motion/src/motion/__tests__/animate-prop.test.tsx:993
Methodcomplete
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:273
Methodcomplete
()
packages/motion-dom/src/animation/NativeAnimation.ts:143
Methodcomplete
()
packages/motion-dom/src/animation/GroupAnimation.ts:110
MethodcomponentDidMount
* This only mounts projection nodes for components that * need measuring, we might want to do it for all components * in order to incorporat
packages/framer-motion/src/motion/features/layout/MeasureLayout.tsx:39
MethodcomponentDidUpdate
* Required with getSnapshotBeforeUpdate to stop React complaining.
packages/framer-motion/src/components/AnimatePresence/PopChild.tsx:67
MethodcomponentDidUpdate
()
packages/framer-motion/src/motion/features/layout/MeasureLayout.tsx:124
MethodcomponentWillUnmount
()
packages/framer-motion/src/motion/features/layout/MeasureLayout.tsx:140
Functionconstructor
(node: VisualElement<T>)
packages/motion-dom/src/render/Feature.ts:13
Functionconstructor
( { parent, props, presenceContext, reducedMotionConfi
packages/motion-dom/src/render/VisualElement.ts:385
Methodconstructor
(type: any, props: any)
packages/framer-motion/src/jest.setup.tsx:13
Methodconstructor
(callback: MockIntersectionObserverCallback)
packages/framer-motion/src/utils/__tests__/mock-intersection-observer.ts:17
Methodconstructor
* We dynamically generate the AnimationState manager as it contains a reference * to the underlying animation library. We only want to load that
packages/framer-motion/src/motion/features/animation/index.ts:16
Methodconstructor
(visualElement: VisualElement<HTMLElement>)
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:96
Methodconstructor
(node: VisualElement<HTMLElement>)
packages/framer-motion/src/gestures/drag/index.ts:11
Methodconstructor
( event: PointerEvent, handlers: Partial<PanSessionHandlers>, { transformP
packages/framer-motion/src/gestures/pan/PanSession.ts:119
Methodconstructor
( private scope: LayoutAnimationScope, private updateDom: () => void | Promise<void>,
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:277
Methodconstructor
(callback: MockResizeObserverCallback)
packages/motion-dom/src/resize/__tests__/mock-resize-observer.ts:16
Methodconstructor
( update: () => void | Promise<void>, options: ViewTransitionOptions = {} )
packages/motion-dom/src/view/index.ts:74
Methodconstructor
(animation: Animation)
packages/motion-dom/src/animation/NativeAnimationWrapper.ts:7
Methodconstructor
(options: ValueAnimationOptions<T>)
packages/motion-dom/src/animation/JSAnimation.ts:91
Methodconstructor
(options: NativeAnimationOptionsExtended<T>)
packages/motion-dom/src/animation/NativeAnimationExtended.ts:25
Methodconstructor
({ autoplay = true, delay = 0, type = "keyframes", repeat = 0, repeatD
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:53
Methodconstructor
(options?: NativeAnimationOptions)
packages/motion-dom/src/animation/NativeAnimation.ts:55
Methodconstructor
(animations: Array<AcceptedAnimations | undefined>)
packages/motion-dom/src/animation/GroupAnimation.ts:18
Methodconstructor
()
packages/motion-dom/src/animation/utils/WithPromise.ts:6
Methodconstructor
( unresolvedKeyframes: UnresolvedKeyframes<AnyResolvedKeyframe>, onComplete: OnKeyframesResolv
packages/motion-dom/src/animation/keyframes/DOMKeyframesResolver.ts:29
Methodconstructor
( unresolvedKeyframes: UnresolvedKeyframes<AnyResolvedKeyframe>, onComplete: OnKeyframesResolv
packages/motion-dom/src/animation/keyframes/KeyframesResolver.ts:128
Methodconstructor
( latestValues: ResolvedValues = {}, parent: IProjectionNode | undefined = defaultPare
packages/motion-dom/src/projection/node/create-projection-node.ts:401
Methodconstructor
* @param init - The initiating value * @param config - Optional configuration options * * - `transformer`: A function to transform inc
packages/motion-dom/src/value/index.ts:171
FunctionconvertTransformToNumber
(value: string)
packages/motion-dom/src/render/dom/parse-transform.ts:106
FunctioncreateDOMVisualElement
(element: HTMLElement | SVGElement)
packages/framer-motion/src/animation/utils/create-visual-element.ts:10
FunctioncreateDomVisualElement
( Component: string | ComponentType<React.PropsWithChildren<unknown>>, options: VisualElementOptions<H
packages/framer-motion/src/render/dom/create-visual-element.ts:6
FunctioncreateDragControls
()
packages/framer-motion/src/gestures/drag/use-drag-controls.ts:100
FunctioncreateInterpolator
( from: Point2D, to: Point2D )
packages/motion-dom/src/animation/utils/arc.ts:105
FunctioncreateMotionComponentWithFeatures
( Component: TagName | string | React.ComponentType<Props>, options?: MotionComponentOptions )
packages/framer-motion/src/render/components/motion/create.ts:7
FunctioncreateObjectVisualElement
(subject: Object)
packages/framer-motion/src/animation/utils/create-visual-element.ts:35
FunctioncreateScrollMotionValues
()
packages/framer-motion/src/value/use-scroll.ts:25
FunctioncreateScrollMotionValues
()
packages/framer-motion/src/value/scroll/utils.ts:22
FunctioncreateScrollUpdater
( values: ScrollMotionValues, getOffsets: GetScrollOffsets )
packages/framer-motion/src/value/scroll/utils.ts:35
FunctioncreateTransformer
(source: AnyResolvedKeyframe)
packages/motion-dom/src/value/types/complex/index.ts:108
Methodcrop
* Control this subject's crop (clip + `object-fit: cover` + animated * corners). By default a subject auto-crops only when it actually morphs -
packages/motion-dom/src/view/index.ts:124
FunctioncssText
()
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:940
FunctioncurrentTime
()
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:1306
FunctiondelayInSeconds
(callback: DelayedFunction, timeout: number)
packages/motion-dom/src/utils/delay.ts:28
FunctiondeprecatedFactoryFunction
( Component: string, options?: MotionComponentOptions )
packages/framer-motion/src/render/components/create-proxy.ts:48
MethoddidUpdate
()
packages/motion-dom/src/projection/node/create-projection-node.ts:810
Functiondirection
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:288
FunctiondisableInstantTransitions
()
packages/framer-motion/src/utils/use-instant-transition.ts:43
Methoddisconnect
()
packages/framer-motion/src/jest.setup.tsx:30
Methoddisconnect
()
packages/motion-dom/src/resize/__tests__/mock-resize-observer.ts:29
Functiondriver
(update: (v: number) => void)
packages/framer-motion/src/animation/animators/__tests__/utils.ts:6
Functionduration
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:278
Methodduration
()
packages/motion-dom/src/animation/JSAnimation.ts:362
Methodduration
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:223
Methodduration
()
packages/motion-dom/src/animation/NativeAnimation.ts:190
Methodduration
()
packages/motion-dom/src/animation/GroupAnimation.ts:78
Functioneasing
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:294
FunctionenablePointerEvents
()
packages/framer-motion/src/events/__tests__/utils/event-helpers.ts:12
FunctionenableTouchEvents
()
packages/framer-motion/src/events/__tests__/utils/event-helpers.ts:1
FunctionendDelay
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:255
FunctionensureDraggedNodesSnapshotted
* When a node is animation-blocked (e.g. during drag) and its component * didn't re-render (memoized), willUpdate() is never called so there's * no
packages/motion-dom/src/projection/node/create-projection-node.ts:2353
Functionenter
()
packages/framer-motion/src/utils/__tests__/use-in-view.test.tsx:8
FunctionexpectsResolvedDragConstraints
({ dragConstraints, onMeasureDragConstraints, }: MotionProps)
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:849
Functionfill
(a)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:261
MethodfinishAnimation
()
packages/motion-dom/src/projection/node/create-projection-node.ts:1780
Methodfinished
()
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:202
Methodfinished
()
packages/motion-dom/src/animation/GroupAnimation.ts:22
Methodfinished
()
packages/motion-dom/src/animation/utils/WithPromise.ts:10
← previousnext →1,601–1,700 of 1,999, ranked by callers