<h1>Observables Example #1</h1>
<script src="https://unpkg.com/@reactivex/rxjs@5.0.3/dist/global/Rx.js"></script>
const source = Rx.Observable.fromEvent(document.body, 'mousemove');

source.subscribe(
      value => console.log(`val => x: ${value.offsetX} & y: ${value.offsetY}`),
      error => console.log(error),
      () => console.log('completed')
    );
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.