Skip to content

Latest commit

 

History

History

readme.md

The Reactive Extensions for JavaScript (RxJS) Examples

The Reactive Extensions for JavaScript have a number of examples that highlight the unique capabilities of the library.

Scenarios

Simple Data Binding

Using nothing more than Rx.BehaviorSubject objects, see how easy it is to accomplish Knockout.js style data-binding.

Autocomplete

Coordinate key up behavior with querying a web service to retrieve hints for queries.


Canvas Paint

Paint on an HTML5 Canvas by coordinating mouse move with mouse down events until mouse up.


Data Binding

Do data binding just like you would with knockout.js.


Image Cropper

Create an image cropper which coordinates the corners of an image to crop.


Drag and Drop

Implement drag and drop with ease of dragging an image around a page.


Konami Code

Implement the Konami Code using the Reactive Extensions with a buffer to react to entering the following:

BA


Require.js Integration

Using Require.js with the Reactive Extensions for JavaScript.


Testing with Jasmine

Unit testing the Reactive Extensions operators using Jasmine.


Testing with Mocha and Node.js

Unit testing the Reactive Extensions operators using Mocha with Node.js


Testing with QUnit

Unit testing the Reactive Extensions operators using QUnit.


Time Flies Like an Arrow

This is an example showing Time Flies Like An Arrow which moves around based upon mouse movements. Each letter is delayed by its position multiplied by its index.