Arbitrary implementation of Command design pattern for cross-modules communication with logging.
Enables undo / redo and actions log functionality.
Live Demo
This demo represents communication between different “Shape” components and “Actions Panel” which fires different actions.
Functionality
- enable / disable action
- granular subscription: each component is defined to listen to certain actions
- granular update – action may be fired with optional parameter to specify particular instance of module to be updated
- action log
- undo / redo