SpringObject
This is like a Spring, but it can be observed, and emits events. It handles Observables and
Properties
Changed
Event fires when the spring value changes
Functions
new
Constructs a new SpringObject.
The spring object is initially initialized as a spring at 0, with a target of 0. Upon setting a target or position, it will be initialized and begin emitting events.
If two observables emit different types the spring will retain the speed, damper, and switch to an initializes.
isSpringObject
SpringObject.isSpringObject(value: any) → booleanReturns whether an object is a SpringObject.
ObserveRenderStepped
Observes the spring animating
Observe
Alias for [ObserveRenderStepped]
ObserveTarget
Observes the current target of the spring