A set of tools for working with RxJs and the DOM more conveniently. Built to be extremely lightweight but still be a full equivalent to Android's RxKotlin Plus.
Contains a bunch of direct extensions on Rx, including:
AnonymousSubject
, which allows you to construct a subject from a separateObserver
andObservable
observerMap
andobserverMapMaybeWrite
, for mapping on the side of theObserver
mapReversible
,mapSubject
,mapSubjectMaybeWrite
,mapSubjectWithExisting
for mapping whole subjects (useful for UI)- Various other tools for manipulating
Subject
s.
subscribeAutoDispose
operator, allowing for easy display the value of anObservable
in a DOM element. Automatically disposes when the DOM element is detached.bind
operator, which creates a two-way binding between aSubject
and various input elements.showInX
operators, which render the contents of a changing list into a DOM element.
An optional package that allows you to use JSX to define views connected to Rx elements.
Contains some tools for manipulating various resources across the board.
Some tools for making HTTP calls mirroring what RxKotlin Plus uses. Also contains tools for parsing/serializing more complex elements rather than just JSON ones.
Tools for moving between various screens in a very simple way, based on the interface
interface ViewGenerator {
generate(dependency: Window): HTMLElement
}