Definition of middleware for model
- Source:
Methods
(static) middleware() → {*}
Middleware to be run on every state change.
Checks for the possibility of a cartesian product and flags the state as such.
Also marks the state as dirty if any changes are detected, for feedback to the user,
if some changes are not saved.
- Source:
Returns:
- Type
- *