Contains methods that provide statefulness to an object which is passed to module:stateful.
Members
- 
static state :Object
 - 
    
    
A hash containing arbitrary keys and values representing the state of the object.
 
Methods
- 
    
        
static setState(stateUpdates) → {Object|undefined}
 - 
    
    
Set the state of an object by mutating its state object in place.
Parameters:
Name Type Description stateUpdatesObject | function A new set of properties to shallow-merge into the plugin state. Can be a plain object or a function returning a plain object.
Fires:
Returns:
Object | undefined -An object containing changes that occurred. If no changes occurred, returns
undefined.