Skip to content

Commit

Permalink
Fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
sindreij authored Jan 21, 2023
1 parent 4b507d1 commit 7eb22f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/mouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A collection of primitives, capturing current mouse cursor position, and helping

##### Non-reactive primitives:

- [`makeMousePositionListener`](#makeMousePositionListener) - Attaches event listeners to provided target, listeneing for changes to the mouse/touch position.
- [`makeMousePositionListener`](#makeMousePositionListener) - Attaches event listeners to provided target, listening for changes to the mouse/touch position.
- [`makeMouseInsideListener`](#makeMouseInsideListener) - Attaches event listeners to provided target, listening for mouse/touch entering/leaving the element.

##### Calculations:
Expand Down Expand Up @@ -65,7 +65,7 @@ By default `createMousePosition` is listening to `touch` events as well. You can
// disables following touch position – only registers touch start
const pos = createMousePosition(window, { followTouch: false });

// disables listeneing to any touch events
// disables listening to any touch events
const pos = createMousePosition(window, { touch: false });
```

Expand Down Expand Up @@ -131,7 +131,7 @@ function createPositionToElement(

###### Added id `@2.0.0`

Attaches event listeners to provided target, listeneing for changes to the mouse/touch position.
Attaches event listeners to provided target, listening for changes to the mouse/touch position.

```ts
const clear = makeMousePositionListener(el, pos => console.log(pos), { touch: false });
Expand Down

0 comments on commit 7eb22f9

Please sign in to comment.