Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Files

Latest commit

04d8284 · Jan 31, 2016

History

History

examples

The Reactive Extensions for JavaScript Bindings for DOM (RxJS-DOM) Examples

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

Scenarios

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.


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

Request Animation Frame

Using the the Rx.Scheduler.requestAnimationFrame scheduler to draw a shape on the screen by passing it into the generate function.


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.