rimmel
Version:
A Streams-Oriented UI library for the Rx.Observable Universe
17 lines (14 loc) • 477 B
JavaScript
import { inputPipe } from '../utils/input-pipe.js';
import { map } from 'rxjs';
/**
* An Event Operator that emits the value of the underlying <input> element
* @returns EventSource<string>
**/
const eventData = map((e) => e.data);
/**
* An Event Adapter that emits the value of the underlying <input> element
* @returns EventSource<string>
**/
const EventData = inputPipe(eventData);
export { EventData, eventData };
//# sourceMappingURL=event-data.js.map