This package contains the interface types and messages used by the Observable DOM system and some helper functions for bridging messages and interfaces.
ObservableDOMInterface
- The interface of an
ObservableDOM
.
- The interface of an
observableDOMInterfaceToMessageSender
- A function that returns an object that matches the
ObservableDOMInterface
, but sends messages corresponding to interactions with the interface to a provided callback.
- A function that returns an object that matches the
applyMessageToObservableDOMInstance
- A function that applies a message (from
observableDOMInterfaceToMessageSender
) to anObservableDOM
instance.
- A function that applies a message (from
ToObservableDOMInstanceMessage
andFromObservableDOMInstanceMessage
- Messages that can describe the emissions and interactions with an ObservableDOM instance.