setOffset(offset) Sets an offset that is applied on top of whatever value is set, whether via setValue, an animation, or Animated.event. Useful for compensating things like the start of a pan gesture.
removeListener(id)
removeAllListeners()
interpolate(config) Interpolates the value before updating the property, e.g. mapping 0-1 to 0-10.
getTranslateTransform() Converts {x, y} into a useable translation transform, e.g. style={{ transform: this.state.anim.getTranslateTransform() }}
getLayout() Converts {x, y} into {left, top} for use in style, e.g. style={this.state.anim.getLayout()}
flattenOffset() Merges the offset value into the base value and resets the offset to zero. The final output of the value is unchanged.
constructor(value)
animate(animation, callback) Typically only used internally, but could be used by a custom Animation class.
addListener(callback) Adds an asynchronous listener to the value so you can observe updates from animations. This is useful because there is no way to synchronously read the value because it might be driven natively.
Page 63 of 64