UNPKG

rimmel

Version:

A Streams-Oriented UI library for the Rx.Observable Universe

17 lines (14 loc) 477 B
import { inputPipe } from '../utils/input-pipe.js'; import { map } from 'rxjs'; /** * An Event Operator that emits the value of the underlying &lt;input&gt; element * @returns EventSource<string> **/ const eventData = map((e) => e.data); /** * An Event Adapter that emits the value of the underlying &lt;input&gt; element * @returns EventSource<string> **/ const EventData = inputPipe(eventData); export { EventData, eventData }; //# sourceMappingURL=event-data.js.map