constructor new Spah.State
new Spah.State(data[, reducers[, expanders]])
- data (Object): A hash of data to act as the starting state. Note that modification events are not fired during instantiation.
- reducers (Array): An array of rules to be applied when this state is reduced.
- expanders (Array): An array of rules to be applied when this state is expanded.