Selection
Last updated
Was this helpful?
Last updated
Was this helpful?
is a simple construct that operates on a nested property in the non-primitive Units' value, i.e.: , , and .
Selection offers the ability to access and observe a nested property at a certain path in a Unit's value.
After creating a Selection object, we can access the value at the selected path anytime, without worrying if the value still exists or not.
To observe the value over time we can make an Observable at the selected path, and subscribe to it.