MCPcopy
hub / github.com/pmndrs/react-spring / getPayload

Function getPayload

packages/animated/src/Animated.ts:18–19  ·  view source on GitHub ↗
(owner: any)

Source from the content-addressed store, hash-verified

16
17/** Get every `AnimatedValue` in the owner's `Animated` node. */
18export const getPayload = (owner: any): AnimatedValue[] | undefined =>
19 owner && owner[$node] && owner[$node].getPayload()
20
21export abstract class Animated<T = any> {
22 /** The cache of animated values */

Callers 4

_startMethod · 0.90
becomeIdleFunction · 0.90
advanceMethod · 0.90
_addToPayloadMethod · 0.90

Calls 1

getPayloadMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…