- Description:
Reactive module debug tools.
- Source:
- Copyright:
- 2021 Ferran Recio
- 2021 Ferran Recio
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Reactive module debug tools.
Classes
- DebugInstance
- core/reactive/local/reactive/debug/Debug
- core/reactive/local/reactive/debug/DebugInstance
- core/reactive/local/reactive/debug/Mutations
Members
(static, constant) initDebug
- Description:
The main init method to initialize the reactive debug.
- Source:
The main init method to initialize the reactive debug.
Methods
(inner) dispatch(args)
- Description:
Dispatch a change in the state.
Usually reactive modules throw an error directly to the components when something goes wrong. However, course editor can directly display a notification.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
args |
* |
(inner) dispatchStateChangedEvent(detail, target)
- Description:
Internal state changed event.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
detail |
object | the full state |
target |
object | the custom event target (document if none provided) |