Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
Merge pull request #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 Aug 12, 2017
2 parents 50ae21f + e906a24 commit dd31f63
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 dd31f63

Please sign in to comment.