RXJS Fromevent Mouseover

import { fromEvent } from 'rxjs';

var result = document.getElementById('result');
var source = fromEvent(result, 'mouseover');

var subscription = source.subscribe(
   function (x) {
    console.log('Hovered!');
   }
);
Wide-eyed Fox