withExternalState

Deprecated

Use the scope.orbitContainer(initialState, transformState) factory function instead

Replace with

scope.orbitContainer(initialState, transformState)

Wraps an OrbitContainer with an external state transformation.

Return

An OrbitContainer with the external state transformation applied.

Parameters

transformState

The function that transforms the internal state to the external state.