- Notifications
You must be signed in to change notification settings - Fork0
streamich/rx-use
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Sensor and side-effect library forrxjs. Do you want to contribute? See,help wanted.
location$— browser location and history sensor.pathname$— browser location pathname sensor.
network$— returns consolidate network status info.onLine$—booleanwhether user is on-line.connection$— information about user's network connection.
windowSize$andwindowSizeRaf$— browser window dimension sensor.darkTheme$— emitstrueif UI should use dark theme.matchMedia$()— returns boolean indicating media query match.colorSchemeDark$— whether user selected dark theme in system settings.colorSchemeLight$— whether user selected light theme in system settings.colorSchemeNoPreference$— whether user has no preference for color scheme.
stdin$— listen for data coming from STDIN.ansiKeys$— listen for ANSI terminal key presses.pubsub— publish/subscribe mechanism for inter-tab communication in browser.tablist— keeps track of all same origin tabs, elects leader and allows to send messages to all tabs or create private channels between any two tabs.
raf()— de-bounces events usingwindow.requestAnimationFrame.
fromStream()— constructs observable from Node.js readable stream.
Most observables imported from this library haveReadonlyBehaviorSubject type.Which is anObservable with an extra.getValue() to access the current value of the observable.
typeReadonlyBehaviorSubject<T>=Observable<T>&Pick<BehaviorSubject<T>,'getValue'>;
Unlicense — public domain.
About
RxJS DOM sensors
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.