Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/motiondivision/motion
/ functions
Functions
1,999 in github.com/motiondivision/motion
⨍
Functions
1,999
◇
Types & classes
338
↓ 1 callers
Function
removeNonTranslationalTransform
(visualElement: WithRender)
packages/motion-dom/src/animation/keyframes/utils/unit-conversion.ts:25
↓ 1 callers
Function
removePointerLeave
()
packages/motion-dom/src/gestures/hover.ts:52
↓ 1 callers
Method
removeTransform
(box: Box)
packages/motion-dom/src/projection/node/create-projection-node.ts:1112
↓ 1 callers
Method
removeValueFromRenderState
( key: string, renderState: ObjectRenderState )
packages/motion-dom/src/render/object/ObjectVisualElement.ts:34
↓ 1 callers
Function
renderHTML
( element: HTMLElement, { style, vars }: HTMLRenderState, styleProp?: MotionStyle, projection?
packages/motion-dom/src/render/html/utils/render.ts:4
↓ 1 callers
Method
renderInstance
( instance: SVGElement, renderState: SVGRenderState, styleProp?: MotionStyle | undefin
packages/motion-dom/src/render/svg/SVGVisualElement.ts:67
↓ 1 callers
Function
renderSVG
( element: SVGElement, renderState: SVGRenderState, _styleProp?: MotionStyle, projection?: any
packages/motion-dom/src/render/svg/utils/render.ts:7
↓ 1 callers
Function
replaceStringEasing
(transition: ValueAnimationTransition)
packages/motion-dom/src/animation/waapi/utils/unsupported-easing.ts:16
↓ 1 callers
Function
resetAutoScrollState
()
packages/framer-motion/src/components/Reorder/utils/auto-scroll.ts:16
↓ 1 callers
Function
resetComputedStyles
()
packages/framer-motion/src/animation/animators/waapi/__tests__/css-variables.test.tsx:48
↓ 1 callers
Method
resetSkewAndRotation
()
packages/motion-dom/src/projection/node/types.ts:107
↓ 1 callers
Method
resetTree
()
packages/motion-dom/src/projection/node/types.ts:116
↓ 1 callers
Function
resizeElement
( target: ElementOrSelector, handler: ResizeHandler<Element> )
packages/motion-dom/src/resize/handle-element.ts:53
↓ 1 callers
Function
resizeWindow
(callback: WindowResizeHandler)
packages/motion-dom/src/resize/handle-window.ts:24
↓ 1 callers
Function
resolveFinalValueInKeyframes
( v: ValueKeyframesDefinition )
packages/motion-dom/src/render/utils/setters.ts:28
↓ 1 callers
Function
resolveOffsets
( container: Element, info: ScrollInfo, options: ScrollInfoOptions )
packages/framer-motion/src/render/dom/scroll/offsets/index.ts:16
↓ 1 callers
Function
restoreWaapi
()
packages/framer-motion/src/animation/animators/waapi/__tests__/setup.ts:32
↓ 1 callers
Method
resume
()
packages/motion-dom/src/animation/keyframes/KeyframesResolver.ts:218
↓ 1 callers
Function
roundBox
(box: Box)
packages/motion-dom/src/projection/node/create-projection-node.ts:2440
↓ 1 callers
Function
runTests
(name: string, motionFactory: typeof motion.create)
packages/framer-motion/src/motion/__tests__/custom.test.tsx:12
↓ 1 callers
Method
runUpdate
()
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:321
↓ 1 callers
Function
scaleX
(v: number[])
packages/motion-dom/src/render/dom/parse-transform.ts:40
↓ 1 callers
Function
scaleY
(v: number[])
packages/motion-dom/src/render/dom/parse-transform.ts:41
↓ 1 callers
Method
scheduleCheckAfterUnmount
()
packages/motion-dom/src/projection/node/types.ts:94
↓ 1 callers
Function
scheduleRender
()
dev/html/src/imports/script-undo.js:46
↓ 1 callers
Function
scheduleRender
()
dev/html/src/imports/script-animate.js:51
↓ 1 callers
Function
scrapeMotionValuesFromProps
( props: MotionNodeOptions, prevProps: MotionNodeOptions, visualElement?: VisualElement )
packages/motion-dom/src/render/html/utils/scrape-motion-values.ts:6
↓ 1 callers
Function
scrollToPx
(px: number)
packages/framer-motion/cypress/integration/scroll-view-timeline-transformed-parent.ts:5
↓ 1 callers
Function
set
(definition)
packages/framer-motion/src/animation/hooks/animation-controls.ts:80
↓ 1 callers
Method
setAnimationOrigin
( delta: Delta, hasOnlyRelativeTargetChanged: boolean = false, pathFn?: Mo
packages/motion-dom/src/projection/node/create-projection-node.ts:1589
↓ 1 callers
Function
setDragLock
(axis: boolean | "x" | "y" | "lockDirection")
packages/motion-dom/src/gestures/drag/state/set-active.ts:3
↓ 1 callers
Function
setFrameData
(interval: number, newTime: number)
packages/framer-motion/src/value/__tests__/use-velocity.test.tsx:12
↓ 1 callers
Function
setMotionValue
* Set VisualElement's MotionValue, creating a new MotionValue for it if * it doesn't exist.
packages/motion-dom/src/render/utils/setters.ts:16
↓ 1 callers
Function
setNativeValue
(element: Element, value: any)
packages/framer-motion/src/events/__tests__/utils/fire-event.ts:42
↓ 1 callers
Method
setOptions
(options: ProjectionNodeOptions)
packages/motion-dom/src/projection/node/create-projection-node.ts:1149
↓ 1 callers
Method
setPrevFrameValue
(prevFrameValue: V | undefined = this.current)
packages/motion-dom/src/value/index.ts:185
↓ 1 callers
Function
setReducedMotionPreferences
()
packages/motion-dom/src/render/utils/reduced-motion/index.ts:12
↓ 1 callers
Method
setTargetDelta
(delta: Delta)
packages/motion-dom/src/projection/node/create-projection-node.ts:1143
↓ 1 callers
Function
setValues
( visualElement: VisualElement, definition: AnimationDefinition )
packages/framer-motion/src/animation/hooks/animation-controls.ts:29
↓ 1 callers
Function
setX
()
packages/framer-motion/src/value/__tests__/use-transform.test.tsx:155
↓ 1 callers
Function
setupWaapi
()
packages/framer-motion/src/animation/animators/waapi/__tests__/setup.ts:1
↓ 1 callers
Function
shouldBlockAnimation
* Decide whether we should block this animation. Previously, we achieved this * just by checking whether the key was listed in protectedKeys, but thi
packages/motion-dom/src/animation/interfaces/visual-element-target.ts:22
↓ 1 callers
Function
shouldForward
(key: string)
packages/framer-motion/src/render/dom/utils/filter-props.ts:5
↓ 1 callers
Function
shouldInheritId
(inherit: InheritOption)
packages/framer-motion/src/components/LayoutGroup/index.tsx:21
↓ 1 callers
Method
show
()
packages/motion-dom/src/projection/node/types.ts:101
↓ 1 callers
Function
shuffle
(array: any[])
dev/react/src/examples/Animation-stagger.tsx:78
↓ 1 callers
Method
snapToCursor
(point: Point)
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:558
↓ 1 callers
Function
sortDocumentOrder
(elements: Iterable<HTMLElement>)
packages/motion-dom/src/layout/LayoutAnimationBuilder.ts:169
↓ 1 callers
Method
sortInstanceNodePosition
()
packages/motion-dom/src/render/object/ObjectVisualElement.ts:53
↓ 1 callers
Function
start
(builder: ViewTransitionBuilder)
packages/motion-dom/src/view/queue.ts:16
↓ 1 callers
Function
startAnimation
()
packages/framer-motion/src/animation/optimized-appear/start.ts:201
↓ 1 callers
Method
startAnimation
(options: ValueAnimationOptions<number>)
packages/motion-dom/src/projection/node/create-projection-node.ts:1716
↓ 1 callers
Method
startAnimation
(transition: ValueTransition)
packages/motion-dom/src/projection/node/types.ts:129
↓ 1 callers
Method
startAxisValueAnimation
( axis: DragDirection, transition: Transition )
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:514
↓ 1 callers
Function
startDevicePoint
(history: TimestampedPoint[])
packages/framer-motion/src/gestures/pan/PanSession.ts:375
↓ 1 callers
Function
startObserving
()
packages/framer-motion/cypress/integration/layout-parent-xy-offset.ts:23
↓ 1 callers
Function
startResizeObservers
( element: HTMLElement, constraintsElement: HTMLElement, onResize: VoidFunction )
packages/framer-motion/src/gestures/drag/VisualElementDragControls.ts:803
↓ 1 callers
Method
startScrollTracking
* Start tracking scroll on ancestors and window.
packages/framer-motion/src/gestures/pan/PanSession.ts:185
↓ 1 callers
Method
startUpdate
()
packages/motion-dom/src/projection/node/types.ts:84
↓ 1 callers
Function
startViewAnimation
( builder: ViewTransitionBuilder )
packages/motion-dom/src/view/start.ts:64
↓ 1 callers
Method
startViewTransition
@see https://drafts.csswg.org/css-view-transitions/#additions-to-document-api
packages/motion-dom/src/view/types.global.ts:5
↓ 1 callers
Function
stopAnimation
(visualElement: VisualElement)
packages/framer-motion/src/animation/hooks/animation-controls.ts:10
↓ 1 callers
Method
stopDriver
()
packages/motion-dom/src/animation/JSAnimation.ts:529
↓ 1 callers
Function
stubGetComputedStyles
()
packages/framer-motion/src/animation/animators/waapi/__tests__/css-variables.test.tsx:44
↓ 1 callers
Function
subscribeValue
( inputValues: MotionValue[], outputValue: MotionValue<O>, getLatest: () => O )
packages/motion-dom/src/value/subscribe-value.ts:4
↓ 1 callers
Function
supportsOklch
()
dev/react/src/tests/oklch-color-animation.tsx:4
↓ 1 callers
Function
syncDriver
(interval = 10)
packages/framer-motion/src/value/__tests__/use-velocity.test.tsx:19
↓ 1 callers
Function
t
(a, b, c)
packages/framer-motion/src/animation/animators/waapi/__tests__/polyfill.js:208
↓ 1 callers
Method
then
(onResolve: VoidFunction, _onReject?: VoidFunction)
packages/motion-dom/src/animation/AsyncMotionValueAnimation.ts:210
↓ 1 callers
Function
toggle
( onDo: VoidFunction, onUndo?: VoidFunction )
packages/framer-motion/src/animation/animate/__tests__/animate.test.tsx:438
↓ 1 callers
Function
transform
(code)
packages/framer-motion/rollup.config.mjs:38
↓ 1 callers
Function
transform
(code)
packages/motion-dom/rollup.config.mjs:36
↓ 1 callers
Function
transformBoxPoints
( point: BoundingBox, transformPoint?: TransformPoint )
packages/motion-dom/src/projection/geometry/conversion.ts:29
↓ 1 callers
Method
unblockUpdate
()
packages/motion-dom/src/projection/node/create-projection-node.ts:624
↓ 1 callers
Method
unmount
()
packages/framer-motion/src/motion/features/viewport/index.ts:90
↓ 1 callers
Method
unobserve
(element: Element)
packages/motion-dom/src/resize/__tests__/mock-resize-observer.ts:25
↓ 1 callers
Method
update
()
packages/framer-motion/src/motion/features/viewport/index.ts:77
↓ 1 callers
Method
updateHandlers
(handlers: Partial<PanSessionHandlers>)
packages/framer-motion/src/gestures/pan/PanSession.ts:343
↓ 1 callers
Function
updateMotionValuesFromProps
( element: any, next: MotionStyleLike, prev: MotionStyleLike )
packages/motion-dom/src/render/utils/motion-values.ts:10
↓ 1 callers
Method
updateScroll
(phase: Phase = "measure")
packages/motion-dom/src/projection/node/create-projection-node.ts:941
↓ 1 callers
Function
updateScrollInfo
( element: Element, info: ScrollInfo, time: number )
packages/framer-motion/src/render/dom/scroll/info.ts:64
↓ 1 callers
Method
updateSnapshot
* Update measurements
packages/motion-dom/src/projection/node/create-projection-node.ts:884
↓ 1 callers
Function
updateValue
()
packages/framer-motion/src/value/use-combine-values.ts:22
↓ 1 callers
Function
useAnimatedState
(initialState: any)
packages/framer-motion/src/animation/hooks/use-animated-state.ts:61
↓ 1 callers
Function
useComposedRefs
* A custom hook that composes multiple refs * Accepts callback refs and RefObject(s)
packages/framer-motion/src/utils/use-composed-ref.ts:57
↓ 1 callers
Function
useComputed
(compute: () => O)
packages/framer-motion/src/value/use-computed.ts:6
↓ 1 callers
Function
useCreateMotionContext
( props: MotionProps )
packages/framer-motion/src/context/MotionContext/create.ts:8
↓ 1 callers
Function
useElementScroll
(ref: RefObject<HTMLElement | null>)
packages/framer-motion/src/value/scroll/use-element-scroll.ts:8
↓ 1 callers
Function
useInitialMotionValues
( { transformTemplate }: MotionProps, visualState: ResolvedValues )
packages/framer-motion/src/render/html/use-props.ts:21
↓ 1 callers
Function
useIsMounted
()
packages/framer-motion/src/utils/use-is-mounted.ts:6
↓ 1 callers
Function
useLayoutId
({ layoutId }: MotionProps)
packages/framer-motion/src/motion/index.tsx:174
↓ 1 callers
Function
useMapTransform
( inputValue: MotionValue<number>, inputRange: InputRange, outputMap: OutputMap<O>, options?:
packages/framer-motion/src/value/use-transform.ts:260
↓ 1 callers
Function
useMotionRef
( visualState: VisualState<Instance, RenderState>, visualElement?: VisualElement<Instance> | null,
packages/framer-motion/src/motion/utils/use-motion-ref.ts:12
↓ 1 callers
Function
useReducedMotionConfig
()
packages/framer-motion/src/utils/reduced-motion/use-reduced-motion-config.ts:7
↓ 1 callers
Function
useRender
( Component: TagName | string | React.ComponentType<Props>, props: MotionProps, ref: React.Ref<HTM
packages/framer-motion/src/render/dom/use-render.ts:15
↓ 1 callers
Function
useStrictMode
( configAndProps: MotionProps, preloadedFeatures?: FeaturePackages )
packages/framer-motion/src/motion/index.tsx:181
↓ 1 callers
Function
useStyle
( props: MotionProps, visualState: ResolvedValues )
packages/framer-motion/src/render/html/use-props.ts:34
↓ 1 callers
Function
useVisualElement
( Component: TagName | string | React.ComponentType<Props>, visualState: | VisualState<SVGElem
packages/framer-motion/src/motion/utils/use-visual-element.ts:27
↓ 1 callers
Function
wake
()
packages/motion-dom/src/frameloop/batcher.ts:73
↓ 1 callers
Method
willUpdate
(shouldNotifyListeners = true)
packages/motion-dom/src/projection/node/create-projection-node.ts:655
← previous
next →
901–1,000 of 1,999, ranked by callers