core/reactive/local/reactive/debug

Reactive module debug tools.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Classes

core/reactive/local/reactive/debug/Debug
core/reactive/local/reactive/debug/DebugInstance
core/reactive/local/reactive/debug/Mutations
DebugInstance

Members

(static, constant) initDebug

Source:

The main init method to initialize the reactive debug.

Methods

(inner) dispatch(args)

Source:

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.

Parameters:
Name Type Description
args *

(inner) dispatchStateChangedEvent(detail, target)

Source:

Internal state changed event.

Parameters:
Name Type Description
detail object

the full state

target object

the custom event target (document if none provided)