RxJs tools for binding data to HTML elements
npm install @lightningkite/rxjs-plusAnonymousSubject, which allows you to construct a subject from a separate Observer and Observable
observerMap and observerMapMaybeWrite, for mapping on the side of the Observer
mapReversible, mapSubject, mapSubjectMaybeWrite, mapSubjectWithExisting for mapping whole subjects (useful for UI)
Subjects.
subscribeAutoDispose operator, allowing for easy display the value of an Observable in a DOM element. Automatically disposes when the DOM element is detached.
bind operator, which creates a two-way binding between a Subject and various input elements.
showInX operators, which render the contents of a changing list into a DOM element.
typescript
interface ViewGenerator {
generate(dependency: Window): HTMLElement
}
``