Method
constructor
(
props?: ControllerUpdate<State> | null,
flush?: ControllerFlushFn<any>
)
Source from the content-addressed store, hash-verified
| 122 | } |
| 123 | |
| 124 | constructor( |
| 125 | props?: ControllerUpdate<State> | null, |
| 126 | flush?: ControllerFlushFn<any> |
| 127 | ) { |
| 128 | this._onFrame = this._onFrame.bind(this) |
| 129 | if (flush) { |
| 130 | this._flush = flush |
| 131 | } |
| 132 | if (props) { |
| 133 | this.start({ default: true, ...props }) |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Equals `true` when no spring values are in the frameloop, and |
Callers
nothing calls this directly
Tested by
no test coverage detected