0.0.1 • Published 6 years ago
event-positions v0.0.1
Event Positions
This is a small library used to determining the the positions that events happened at in code views.
Installation
npm i event-positions
Usage
It is currently exposed as an RxJs Operator
import { findPositionsFromEvents } from "event-positions";
observableOfDomElements
.pipe(
findPositionsFromEvents({
...props
})
)
.subscribe(positionEvent => console.log(positionEvent)); // { line: ..., character: ..., token: ... }
0.0.1
6 years ago