UNPKG

@plotinus/matrix-package-observable-coordinator

Version:

Observable coordinator pattern components using IntrospectableBaseCommunicationComponent and proper presentation architecture

22 lines 595 B
<matrix-definition id="rootMatrix" emits="SystemCompleted:direct" rootTopic="myTopic/demo" onSystemCompleted="handleMatrixSystemCompleted" > <app id="myAppInstance" emits="SystemCompleted:direct" onSystemCompleted="handleAppSystemCompleted" > <!-- Since the matrix-cli doesn't use loadComponentTreeRecursively, we need to include the coordinator component directly here. --> <coordinator id="myCoordinator" onCoordinatorReady="handleCoordinatorReady" onCoordinatorDone="handleCoordinatorDone" /> </app> </matrix-definition>