Constructor
new StateStore()
- Source:
Parameters:
Type | Description |
---|---|
StateStoreInit
|
Members
_changedState :Array.<StateChangeTuple>
- Source:
Type:
-
Array.<StateChangeTuple>
enableWarnings :Boolean
If set, invalid operations will be logged in the console.
- Source:
Type:
-
Boolean
Stores :Array.<StateStore>
Contains all created instances of StateStore.
- Source:
Type:
-
Array.<StateStore>
Methods
(static) _initHandlers(handlers) → {Object.<string, function()>}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
handlers |
StateStoreInit.model
|
Returns:
- Type:
-
Object.<string, function()>
(static) _initState(instance, state) → {Proxy}
Create a Proxy object that use module:StateModel~checkValid
before assigning new values
- Source:
Parameters:
Name | Type | Description |
---|---|---|
instance |
StateStore
|
StateStore Instance. |
state |
StateStoreInit.state
|
StateStore._state initial properties |
Returns:
- Type:
-
Proxy