fromEvent
Creates an Observable that emits events of a specific type coming from the given event target.
Parameters
target | The DOM EventTarget, Node.js EventEmitter, JQuery-like event target, NodeList or HTMLCollection to attach the event handler to. |
eventName | The event name of interest, being emitted by the |
options | Optional. Default is Options to pass through to addEventListener |
resultSelector | Optional. Default is Type: |
Last updated