Top "Rxjs" questions

The Reactive Extensions for JavaScript (RxJS) is a set of libraries for composing asynchronous and event-based programs using observable collections and Array Extras style composition.

How can I close a dropdown on click outside?

I would like to close my login menu dropdown when the user click anywhere outside of that dropdown, and I'd …

javascript drop-down-menu angular rxjs
Convert Promise to Observable

I am trying to wrap my head around observables. I love the way observables solve development and readability issues. As …

angular firebase rxjs firebase-authentication
Return an empty Observable

The function more() is supposed to return an Observable from a get request export class Collection{ public more = (): Observable<…

javascript typescript rxjs observable
Using an array from Observable Object with ngFor and Async Pipe Angular 2

I am trying to understand how to use Observables in Angular 2. I have this service: import {Injectable, EventEmitter, ViewChild} from …

typescript angular rxjs observable
How to get data from observable in angular2

I am trying to print the result of http call in Angular using rxjs Consider the following code import { Component, …

typescript angular reactive-programming rxjs observable
Observable.of is not a function

I am having issue with importing Observable.of function in my project. My Intellij sees everything. In my code I …

angular rxjs
Getting an object array from an Angular service

I am new to Angular (and Javascript for that matter). I've written an Angular service which returns an array of …

arrays json angular rxjs angular2-http
How to create an Observable from static data similar to http one in Angular?

I am having a service that has this method: export class TestModelService { public testModel: TestModel; constructor( @Inject(Http) public http: …

typescript promise angular observable rxjs
How to make one Observable sequence wait for another to complete before emitting?

Say I have an Observable, like so: var one = someObservable.take(1); one.subscribe(function(){ /* do something */ }); Then, I have a …

javascript observable rxjs
What is pipe() function in Angular

Pipes are filters for transforming data (formats) in the template. I came across the pipe() function as below. What does …

angular rxjs angular-pipe rxjs-pipe