Skip to content

Commit

Permalink
Merge pull request schickling#220 from okeeffed/master
Browse files Browse the repository at this point in the history
Update api.md - fix scrollTo API docs
  • Loading branch information
adieuadieu authored and webpolis committed Oct 5, 2017
2 parents 093171e + 2affe9d commit 1fe12e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,13 @@ await chromeless.mouseup('#placeholder')
Scroll to somewhere in the document.

__Arguments__
- `x` - Offset from top of the document
- `y` - Offset from the left of the document
- `x` - Offset from the left of the document
- `y` - Offset from the top of the document

__Example__

```js
await chromeless.scrollTo(500, 0)
await chromeless.scrollTo(0, 500)
```

---------------------------------------
Expand Down

0 comments on commit 1fe12e3

Please sign in to comment.