By default, Inputs will push input events into the stream. This lesson shows you how to use map
to convert the input event into the text you actually want.
JS Bin
const input = document.querySelector('#input');const input$ = Observable.fromEvent(input, 'input') .map(event => event.target.value);input$ .subscribe((x)=> console.log(x));